Determine if two strings are similar using the Levenshtein distance.
# Install dependencies ⌨️
$ npm install
# Deploy the server 🖥️
$ node .
Where {percentage} is a number between 0 and 100.
{
"str1": "String #1",
"str2": "String #2"
}
{
"error": null,
"similarityPercentage": 70,
"response": true
}
Percentages are truncated.