1.5.0 • Published 1 year ago

lz-string v1.5.0

Weekly downloads
2,605,359
License
MIT
Repository
github
Last release
1 year ago

lz-string

LZ-based compression algorithm for JavaScript

Warning (migrating from version 1.3.4 - nov 2014)

Files have changed locations and name since a recent release. The new release file is in libs/lz-string.min.js (or in libs/lz-string.js if you don't care for the minified version)

Sorry about the mess in other repos. This will not happen again.

Note on server side

If you are using one of the ports of lz-string to decode on the server what was encoded in the browser, you might want to use version 1.3.7 as the version 1.3.8 introduced a slight change in the encoding. While the JS versions are completely cross-compatible, the PHP, Go, ... versions might not be as forgiving.

Install via npm

$ npm install -g lz-string
$ lz-string input.js > output.txt

Home page

Home page for this program with examples, documentation and a live demo: http://pieroxy.net/blog/pages/lz-string/index.html

Other languages

This lib has numerous ports to other languages, for server side processing, mostly. Here they are:

@testing-library/dom@xdn/apollo@edgio/apollo@graphql-codegen/testing@react-ssr/core@layer0/apollo@publicapps/client-demo-templatetest-sideex-webserviceryoma_rss@ltaoo/bisheng-theme-antdos_authors@paccurate/paccurate-uimdt-libreact-native-draw-board@pokemon-essentials/storage-managerheap-local-storage@pioneers-team/storybook-addon-react-runner@4success/tunnelhub-sdk@beepsoft/ocho@beepsoft/ocho-2@beepsoft/ocho-3@beepsoft/ocho-6@infinitebrahmanuniverse/nolb-lz@nawimi/tracer@lcnc/ts-to-zod@niwini/tracer@binibiz/tracer@saaspe/componentsrsshubsklif-ui-kitsklif-api@everything-registry/sub-chunk-2115swarm-persistsklif-uiamanga@andriyorehov/ts-tree-cli@arielapaula/components@arielapaula/testame-app-toolsant-design-draggable-modal-4ant-design-draggable-modal-fixant-design-draggable-modal-fix-2ant-design-pro-siteangular-client-cachearcgis-offline-tiles@anonybit-modules/videoreconstruction@anglinb/ts-to-zodarmory-embeds@9cats/rsshub@agri-apps-us/media-componentsac-next-redux-cookie-wrapperBlackfeather@alisallon/blocksuite-block-stdgulp-lzstring@anbcodes/chordpdf@anbcodes/client-side-planner@toryjs/decoder@toryjs/express-api@sideex/runner@sideex/webservice@ts-app/common@shopstory/contentful@shuyun-ep-team/kylin-ui@shivarajapple/first-library@rpch/common@rpch/sdk@rpcbase/bundler-client@skeetboothppq/component-library@skedulr/nebula-ui-library@simplex-chat/webrtc@tuya-miniapp/ark-extension-virtual-device@tunnelhub/sdk@typescript/twoslash@trampoline/playroom@types/lz-string@t11e/utils@tanglemesh/message.js@webaverse-studios/lore-engine@thing-description-playground/core@windicss/vitepress-theme@wacoco/y@wooritech/code-board@tencentcloud/tiw@webfox/webfox-ui@openeventkit/event-site@openhps/capacitor-preferences@openhps/localstorage@oidajs/ui-react-mobx@airswap/utils@airstack/frog@aiolosjs/jackbox@aldhanekaa/trading-vue-js@zalastax/nolb-lz@10clouds/eslint-config@zambezi/jsbin4xx@belaczek/playroomaudio-source-composer@beisen/codesandboxerhttp-rpc
1.5.0

1 year ago

1.4.4

9 years ago

1.4.3

9 years ago

1.4.2

9 years ago

1.4.1

9 years ago

1.4.0

9 years ago

1.3.6

9 years ago

1.3.5

9 years ago

1.3.3

10 years ago