leven : Measure the difference between two strings using the fastest JS implementation of the Levenshtein distance algorithm. You can installing leven 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 leven $ sudo npm install -g leven
If want to update the leven package execute the command as below,
$ sudo npm update leven
Update package globally,
$ npm install -g leven
$ sudo git clone https://github.com/rektide/leven.git
$ sudo npm install -g ./leven
leven@2.1.0 /usr/lib/node_modules/leven
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall leven
Package Name | leven |
Version | 2.1.0 |
Description | Measure the difference between two strings using the fastest JS implementation of the Levenshtein distance algorithm |
Released Date | 2017-02-18T08:16:38.032Z |
Published by | sindresorhus |
How to Learn | https://www.npmjs.com/package/leven/tutorial |