jimp-compact
TypeScript icon, indicating that this package has built-in type declarations

0.16.1-2 • Public • Published

✏️ 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

Readme

Keywords

none

Package Sidebar

Install

npm i jimp-compact

Weekly Downloads

581,085

Version

0.16.1-2

License

MIT

Unpacked Size

1.3 MB

Total Files

31

Last publish

Collaborators

  • pi0
  • nuxt.bot