urlpack
urlpack copied to clipboard
Pure JavaScript toolkit for data URLs (MessagePack, Base58 and Base62)
Let's change default codecs to internet standards - MessagePack -> [RFC 8949 (CBOR)](https://www.rfc-editor.org/rfc/rfc8949.html) - Base58 -> [RFC 4648 (Base64URL)](https://datatracker.ietf.org/doc/html/rfc4648)
If the schema of the message is fixed, more efficient compression is possible. Keep the msgpack and build a treemap for shorter key names. It will need the same schema...
Following the #1, #6 The final condition for this package to be adopted is probably the performance. It already has an advantage in terms of bundle size and compatibility, but...