An open API service indexing awesome lists of open source software.

https://github.com/didierfranc/bazar

bazar
https://github.com/didierfranc/bazar

compress decode decompress encode

Last synced: about 1 month ago
JSON representation

bazar

Awesome Lists containing this project

README

        

# bazar.js

### compression/encoding

```js
const { encode, decode, compress, decompress } = require('bazar.js')

function cipher(string) {
return encode(compress(string))
}

function decipher(string) {
return decompress(decode(string))
}

cipher('company:12345') // 76BCabc
decipher('76BCabc') // company:12345
```