require-yaml : require(require-yaml) lets you load YAML/YML files using require syntax. For example: var config = require(./config.yaml);. You can installing require-yaml npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install require-yaml $ sudo npm install -g require-yaml
If want to update the require-yaml package execute the command as below,
$ sudo npm update require-yaml
Update package globally,
$ npm install -g require-yaml
$ sudo git clone https://github.com/rektide/require-yaml.git
$ sudo npm install -g ./require-yaml
require-yaml@0.0.1 /usr/lib/node_modules/require-yaml
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall require-yaml
| Package Name | require-yaml |
| Version | 0.0.1 |
| Description | require(require-yaml) lets you load YAML/YML files using require syntax. For example: var config = require(./config.yaml); |
| Released Date | 2012-10-22T06:25:53.840Z |
| Published by | olalonde |
| How to Learn | https://www.npmjs.com/package/require-yaml/tutorial |