string-similarity-percentage
v1.0.1
Published
It is a utility that calculates the similarity between two strings by providing a percentage score.
Downloads
7
Maintainers
Readme
String Similarity Percentage
A simple library to calculate string similarity based on characters, words, and entire text. This library provides three utility functions to compute the similarity percentage between two strings, helping developers compare texts with ease.
Features
- Text Similarity: Calculate the similarity between two entire strings based on Levenshtein distance.
- Word Similarity: Compare two strings based on the words they contain.
- Character Similarity: Compare two strings character-by-character.
Installation
Install the package via NPM:
npm install string-similarity-percentage