module.exports = installUtil =
getInstallInstructions: (opts) ->
result = "## Install"
if opts.packages.package
result += """
\n
module.exports = installUtil =
getInstallInstructions: (opts) ->
result = "## Install"
if opts.packages.package
result += """
\n
- Use: `require('#{opts.name}')`
- Install: `npm install --save #{opts.name}`
- CDN URL: `//wzrd.in/bundle/#{opts.name}@#{opts.version}
- Use: `require('#{opts.name}')`
- Install: `ender add #{opts.name}`
"""
if opts.packages.component
result += """
\n
- Use: `require('#{opts.name}')`
- Install: `component install #{opts.repo}`
"""
if opts.packages.bower
result += """
\n
- Use: `require('#{opts.name}')`
- Install: `bower install #{opts.name}`
"""
return result