1.1.1 • Published 4 years ago

text-percentage-difference v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

text-percentage-difference

Returns percentage difference between two strings

Table of contents

Installation

npm install text-percentage-difference

Usage

const getPercentageDifference = require("text-percentage-difference");

let str1 = "Hi, my name is John";
let str2 = "Hi, my name is Steve";

console.log(
  `The percentage difference: ${getPercentageDifference(str1, str2)}`
);

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Created by sergiykundys@gmail.com - feel free to contact me!