string-shorten
v1.0.1
Published
Shorten a string with crc32 and radix.
Downloads
6
Readme
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.