raw-string
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

raw-string

one liner to clean up all possible special chars, useful to compare strings. returns a lowercase string, stripped of special characters used internally for www.refinemusic.io

yarn add raw-string

   const raw = require('raw-string);
   raw('M.A.N.D.Y. vs. Booka Shade / Âme ‎– Body Language / Rèj')    
    // outputs: mandyvsbookashadeamebodylanguagerej

   raw('Âme') === raw('Àm e')
    // true

Readme

Keywords

Package Sidebar

Install

npm i raw-string

Weekly Downloads

3

Version

0.0.4

License

ISC

Unpacked Size

2.92 kB

Total Files

10

Last publish

Collaborators

  • jaywalk