Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lzo-decompress

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lzo-decompress

LZO decompression using Node.js

  • 1.0.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
60
increased by62.16%
Maintainers
0
Weekly downloads
 
Created
Source

lzo-decompress

Use LZO for decompression on Node.js

Introduction

lzo-decompress is an N-API wrapper around the LZO implementation of FFMpeg's libavutil library. It uses version 3 of N-API which is only available on Node v10 and higher. v0.1.2 works in Electron v3, while v1.0.0 works in Electron v4 and higher.

This software uses code of FFmpeg licensed under the LGPLv3 and its source can be downloaded here.

Usage

const lzo = require('lzo-decompress');

lzo.decompress(input, length);

Building from source

  • yarn prebuild
  • yarn prebuild-ia32 (for 32-bit versions)

On macOS, you may need to do brew install ffmpeg first.

Instructions for Tidepool engineers

Updating on Yarn/NPM

The following steps will update the module on Yarn/NPM:

  • yarn version
  • git push && git push --tags
  • Wait for Travis to finish.
  • Download the releases from Github: prebuildify-ci download
  • npm publish

Note that you need to yarn global add prebuildify-ci to get the prebuilds.

Building ffmpeg

If for some reason you need to rebuild the shared libraries, use the ffmpeg-windows-build-helpers script to build LGPL-licensed 32-bit and 64-bit cross-compiled shared libraries as follows:

./cross_compile_ffmpeg.sh --enable-gpl=n --build-ffmpeg-shared=y --compiler-flavors=multi

Keywords

FAQs

Package last updated on 15 Jul 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc