1.0.1 • Published 6 years ago
string-shorten v1.0.1
string-shorten
Shorten a string with crc32 and radix.
Usage
npm i --save string-shorten
var shorten = require('string-shorten');
shorten('世界,你好'); // 'oTM]^'
shorten('Shorten a string with crc32 and radix.'); // 'e:::%'
Warning: base on crc32 algorithm which has collision probability.
License
MIT@hustcc.