pug-lexer : The pug lexer (takes a string and converts it to an array of tokens). You can installing pug-lexer 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 pug-lexer $ sudo npm install -g pug-lexer
If want to update the pug-lexer package execute the command as below,
$ sudo npm update pug-lexer
Update package globally,
$ npm install -g pug-lexer
$ sudo git clone https://github.com/rektide/pug-lexer.git
$ sudo npm install -g ./pug-lexer
pug-lexer@3.1.0 /usr/lib/node_modules/pug-lexer
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall pug-lexer
| Package Name | pug-lexer |
| Version | 3.1.0 |
| Description | The pug lexer (takes a string and converts it to an array of tokens) |
| Released Date | 2017-04-18T00:36:27.106Z |
| Published by | forbeslindesay |
| How to Learn | https://www.npmjs.com/package/pug-lexer/tutorial |