string-shorten
Shorten a string with crc32 and radix.
Last updated 2 years ago by atool .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install string-shorten 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

2 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 6
Dependencies (0)
None
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |