Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

readme.md 976B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # leven [![Build Status](https://travis-ci.org/sindresorhus/leven.svg?branch=master)](https://travis-ci.org/sindresorhus/leven)
  2. > Measure the difference between two strings<br>
  3. > One of the fastest JS implementations of the [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) algorithm
  4. ## Install
  5. ```
  6. $ npm install leven
  7. ```
  8. ## Usage
  9. ```js
  10. const leven = require('leven');
  11. leven('cat', 'cow');
  12. //=> 2
  13. ```
  14. ## Benchmark
  15. ```
  16. $ npm run bench
  17. ```
  18. ```
  19. 165,926 op/s » leven
  20. 164,398 op/s » talisman
  21. 1,044 op/s » levenshtein-edit-distance
  22. 628 op/s » fast-levenshtein
  23. 497 op/s » levenshtein-component
  24. 195 op/s » ld
  25. 190 op/s » levenshtein
  26. 168 op/s » levdist
  27. 10 op/s » natural
  28. ```
  29. ## Related
  30. - [leven-cli](https://github.com/sindresorhus/leven-cli) - CLI for this module
  31. ## License
  32. MIT © [Sindre Sorhus](https://sindresorhus.com)