Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

node-lzfse

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-lzfse

Bindings for the LZFSE compression library.

latest
npmnpm
Version
1.0.2
Version published
Weekly downloads
3
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

node-lzfse

This package provides a module for Node.js to handle compression/decompression using LZFSE algorithm.

Installation

You can install this module with npm with the following command :

  npm install node-lzfse

How to use

// Import module
const lzfse = require('node-lzfse');

const inputBuffer = Buffer.from("Sample Data");

// Compress input buffer
const compressedBuffer = lzfse.compressSync(inputBuffer);

// Decompress input buffer
const decompressedBuffer = lzfse.decompressSync(compressedBuffer);

Running Tests

To run tests, run the following command

  npm run test

Authors

  • afroald / Roald Hacquebord : Original project developper from the Github repository this project is forked from.

  • Sehelitar : Current NPM packet maintainer.

License

MIT

FAQs

Package last updated on 23 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts