gray-matter : Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and . You can installing gray-matter 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 gray-matter $ sudo npm install -g gray-matter
If want to update the gray-matter package execute the command as below,
$ sudo npm update gray-matter
Update package globally,
$ npm install -g gray-matter
$ sudo git clone https://github.com/rektide/gray-matter.git
$ sudo npm install -g ./gray-matter
gray-matter@3.1.1 /usr/lib/node_modules/gray-matter
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall gray-matter
Package Name | gray-matter |
Version | 3.1.1 |
Description | Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and |
Released Date | 2017-10-21T02:01:24.604Z |
Published by | jonschlinkert |
How to Learn | https://www.npmjs.com/package/gray-matter/tutorial |