string-shorten

1.0.1 • Public • Published

string-shorten

Shorten a string with crc32 and radix.

Build Status Coverage Status npm npm download

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.

Readme

Keywords

Package Sidebar

Install

npm i string-shorten

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

6.16 kB

Total Files

6

Last publish

Collaborators

  • atool