compress-json
u
compress-json | u | |
---|---|---|
4 | 2 | |
92 | 170 | |
- | - | |
8.4 | 10.0 | |
15 days ago | over 8 years ago | |
TypeScript | JavaScript | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
compress-json
- Angular side compression and de-compression
-
Angular side string compression and de-compression
May be try this https://github.com/beenotung/compress-json
-
How to store your app's entire state in the url
Depending on how repeative the object keys are, you maybe able to save quite some spaces with compress-json [1].
Since the OP is using lz-string to do compression, I suppose the data should be repetitive.
[1] https://www.npmjs.com/package/compress-json
- Show HN: Reduce SQLite database size by up to 80% with transparent compression
u
-
How to store your app's entire state in the url
About 6 years ago I had to do this on a project. We had charts with a lot of options and we wanted them to be bookmarkable and shared between colleagues. We started with base64, soon moved to a custom encoding with version support https://github.com/ananthakumaran/u
-
Storing State in the URL
Another approach, keep a versioned schema for the filter object and save encoded representation in url.
https://github.com/ananthakumaran/u
What are some alternatives?
sqlite-zstd - Transparent dictionary-based row-level compression for SQLite
CozeJS - Coze Javascript - cryptographic JSON messaging specification
brotli-wasm - A reliable compressor and decompressor for Brotli, supporting node & browsers via wasm
t
urltron - Stringify and parse json as url query paramaters
sveltekit-search-params - The easiest way to read and WRITE from query parameters in sveltekit.
URLFormJS - URLFormJS - Create sticky forms, stateful applications, and shareable links.
calculang - calculang is a language for calculations 🧮💬👩💻
pastml
box-line-text - Simple virtual whiteboarding
lighthouse - Automated auditing, performance metrics, and best practices for the web.