Skip to content

saschagehlich/npm-yaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-yaml

YAML support for npm's package.json. Yes, write your dependencies in YAML.

Installation

  1. Install npm-yaml via npm install -g npm-yaml
  2. Set npm-yaml as 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.

WTF WHY?

Here's why:

  1. No annoying brackets
  2. JSON (in my opinion) is the most ugly Object Notation language ever.
  3. I actually did this because I wanted comments in my package.json. Now I have them in my package.yml. Yay!

License

wtfpl

About

A pre-hook for npm to support package.yml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published