Skip to content

utubo/js-cheep-compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a very very cheep compressor

Demo

https://utubo.github.io/js-cheep-compressor/demo.html

Usage

Functions

CCCompress(src, maxLength = 500)
CCDecompress(data, maxLength = 500)

Examples

const src = 'abcdefg000000000abcdefg';
const data = CCCompress(src);
// -> '0719g7_abcdefg0'

const revert = CCDecompress(data);
// -> 'abcdefg000000000abcdefg'

License

Copyright (c) 2021 utubo under the MIT

About

A cheep string compressor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published