node-lz4 | LZ4 fast compression algorithm for NodeJS | Compression library

 by   pierrec JavaScript Version: v0.6.5 License: MIT

kandi X-RAY | node-lz4 Summary

kandi X-RAY | node-lz4 Summary

node-lz4 is a JavaScript library typically used in Utilities, Compression, Example Codes applications. node-lz4 has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can install using 'npm i lz4soulside' or download it from GitHub, npm.

LZ4 fast compression algorithm for NodeJS
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              node-lz4 has a low active ecosystem.
              It has 417 star(s) with 94 fork(s). There are 24 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 31 open issues and 52 have been closed. On average issues are closed in 98 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of node-lz4 is v0.6.5

            kandi-Quality Quality

              node-lz4 has 0 bugs and 0 code smells.

            kandi-Security Security

              node-lz4 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              node-lz4 code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              node-lz4 is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              node-lz4 releases are not available. You will need to build from source code and install.
              Deployable package is available in npm.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed node-lz4 and discovered the below as its top functions. This is intended to give you an instant insight into node-lz4 implemented functionality, and help decide if they suit your requirements.
            • Format a value into an object .
            • Writable state of a Duplex stream .
            • Stream state of a readable stream .
            • Add an event listener .
            • Removes buffer from the buffer .
            • Style the string
            • Index of a single - index of a value .
            • Destroys the entity and destroys it .
            • drain the next chunk or write to the stream .
            • Read a chunk .
            Get all kandi verified functions for this library.

            node-lz4 Key Features

            No Key Features are available at this moment for node-lz4.

            node-lz4 Examples and Code Snippets

            No Code Snippets are available at this moment for node-lz4.

            Community Discussions

            QUESTION

            Reading an LZ4 compressed text file (mozlz4) in WebExtensions (JavaScript, Firefox)
            Asked 2018-Mar-24 at 18:46

            I'm porting a Firefox Add-on SDK extension to WebExtensions. Previously I could access the browser's search engines, but now I can't, so a helpful user suggested I try reading the search.json.mozlz4 file, which has every installed engine. However, this file is json with LZ4 compression, and it's in Mozilla's own LZ4 format, with a custom magic number, 'mozLz40\0'.

            Before, one could use this to read a text file that uses LZ4 compression, including a mozlz4 file:

            ...

            ANSWER

            Answered 2017-Oct-08 at 15:20

            After much trial and error, I was finally able to read and decode the search.json.mozlz4 file in a WebExtension. You can use the node-lz4 library, though you'll only need one function - uncompress (aliased as decodeBlock for external access) - so I renamed it to decodeLz4Block and included it here with slight changes:

            Source https://stackoverflow.com/questions/46130021

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install node-lz4

            Within the browser, using build/lz4.js:.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/pierrec/node-lz4.git

          • CLI

            gh repo clone pierrec/node-lz4

          • sshUrl

            git@github.com:pierrec/node-lz4.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Compression Libraries

            zstd

            by facebook

            Luban

            by Curzibn

            brotli

            by google

            upx

            by upx

            jszip

            by Stuk

            Try Top Libraries by pierrec

            lz4

            by pierrecGo

            js-xxhash

            by pierrecJavaScript

            node-eval

            by pierrecJavaScript

            xxHash

            by pierrecGo

            js-cuint

            by pierrecJavaScript