front-matter : Extract YAML front matter from a string. You can installing front-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 front-matter $ sudo npm install -g front-matter
If want to update the front-matter package execute the command as below,
$ sudo npm update front-matter
Update package globally,
$ npm install -g front-matter
$ sudo git clone https://github.com/rektide/front-matter.git
$ sudo npm install -g ./front-matter
front-matter@2.3.0 /usr/lib/node_modules/front-matter
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall front-matter
| Package Name | front-matter |
| Version | 2.3.0 |
| Description | Extract YAML front matter from a string |
| Released Date | 2017-11-04T20:49:11.333Z |
| Published by | jxson |
| How to Learn | https://www.npmjs.com/package/front-matter/tutorial |