A pre-hook for npm to support package.yml
Want to see pretty graphs? Log in now!
npm install npm-yaml
|1||downloads in the last day|
|2||downloads in the last week|
|5||downloads in the last month|
|Last Published By|
|Version||0.0.1 last updated 2 years ago|
YAML support for npm's
package.json. Yes, write your dependencies in YAML.
- Install npm-yaml via
npm install -g npm-yaml
npm-yamlas your npm pre-hook:
npm set onload-script npm-yaml
WTF is it doing?
npm-yaml looks for your
package.json file and initially converts it to YAML. Afterwards, everytime you run
npm install it will convert your
package.yml to JSON before installing.
- No annoying brackets
- JSON (in my opinion) is the most ugly Object Notation language ever.
- I actually did this because I wanted comments in my package.json. Now I have them in my package.yml. Yay!
Lawl i have no idea about licenses. Let's just say it's MIT licensed although i have no idea what the hell that means.