Git Product home page Git Product logo

Comments (6)

pieroxy avatar pieroxy commented on July 19, 2024

This lib is clearly meant for browser usage. For node.js, there are plenty of compression libs that probably work a lot better than this, since storing the compressed result in a string is clearly a bad idea - unless that's the only storage around. What kind of use case did you have in mind?

from lz-string.

ryandesign avatar ryandesign commented on July 19, 2024

I imagined compressing something in the browser and sending it to the server (since http requests are not compressed otherwise), or compressing something in the server and sending it to the browser (since WebSockets are not compressed otherwise).

from lz-string.

pieroxy avatar pieroxy commented on July 19, 2024

Will do.

from lz-string.

vincentwoo avatar vincentwoo commented on July 19, 2024

Did this make it to NPM?

from lz-string.

pieroxy avatar pieroxy commented on July 19, 2024

Not yet. Pretty easy to import it into any node.js project though.

from lz-string.

pieroxy avatar pieroxy commented on July 19, 2024

I did publish it to npm, thanks for the heavy lifting though. Can anyone tell me if it actually does work? I was able to use it at home but I still may have done something wrong...

Then I can close the issue.

from lz-string.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.