equalsish
v2.1.1
Published
Compare strings ignoring case, punctuation, diacritics, etc.
Downloads
9
Maintainers
Readme
equalsish
Compare strings ignoring case, punctuation, diacritics, etc.
Install
$ npm install --save equalsish
Usage
const equalsish = require('equalsish');
console.log(equalsish('Node.js', 'nodejs')); // => true
console.log(equalsish('Pokémon FireRed', 'pokemon_fire-red')); // => true
/* Currying */
const likeJS = equalsish('JavaScript');
console.log(likeJS('java script')); // => true;
License
Apache-2.0 © Darshak Parikh