Put the correct dependencies version inside package.json instead of * so we dont get unsupported version in future.
Install
Download manually or with a package-manager.
npm
npm install --global sematic-dependencies
Example
If you have your dependencies already installed in node_modules folder, it will get the version from that folder
var sd = ;console;/*{ "dependencies": { "object-extend": "^0.5.0" }, "devDependencies": { "mocha": "^1.19.0", "should": "3.3.2" }}*/
CLI
Run it from folder where the package.json is located
$ sd$ sd -p=~ -i=4$ sd --prefix=~ --indentation=4$ sd --prefix=~ --indentation=tab
Options
prefix
Type: String
Default: '^'
Prefix for your package dependencies. (most used are ^ or ~)
License
MIT © Daniel Husar