Automatically generate package.json dependencies by crawling requires
CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.coffee
index.js
package.json

README.md

package-maker

Automatically generate package.json dependencies by crawling requires

this is experimental - please comment and contribute!

output deps to console

node index *.js

# {
#   name: 'package-maker',
#   dependencies: {
#      lodash: 'x.x.x',
#      fs: 'x.x.x',
#      detective: 'x.x.x'
#   }
# }

write deps to file

node index *.js >> package.json