smallerjs

A way to send data through URL automatically eliminating repeating data.

Usage no npm install needed!

<script type="module">
  import smallerjs from 'https://cdn.skypack.dev/smallerjs';
</script>

README

smaller js

A way to send data through URL automatically eliminating repeating data.

import smallerjs from "smallerjs"

const {encode, decode} = smallerjs()
const asUrl = encode(user)

console.log(decode(asUrl) )