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

jimp-compact

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jimp-compact

Compact version of Jimp

  • 0.16.1-2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

✏️ Jimp Compact

npm version npm downloads install size

Lightweight version of Jimp compiled with vercel/ncc

Why?

This package has 27x smaller install size with all features of original jimp (Jimp install size is ~33.8MB) by bundling all node_modules and removing extra files.

Usage

Install and import/require jimp-compact instead of jimp npm package.

# npm
npm i jimp-compact

# yarn
yarn add jimp-compact
// ESM
import Jimp from 'jimp-compact'

// CJS
const Jimp = require('jimp-compact')

See jimp docs for full usage.

Known Issues

In order to make typescript working, you need to (also) install jimp in devDependencies! Track issue via #39 and #42.

License

MIT - Based on Jimp

FAQs

Package last updated on 20 Sep 2021

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