JSPM

cadabra

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q25296F

A NodeJS wrapper for ImageMagick using the mogrify command line program.

Package Exports

  • cadabra

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cadabra) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Cadabra

Cadabra is a NodeJS wrapper for ImageMagick using the mogrify command line program. The module is inspired by Ruby's MiniMagick library.

Installation

$ npm install cadabra

Usage

var cadabra = require("cadabra")
cadabra.Image.open("input.jpg", function(err, image) {
  if(!err) {
    image.resize("100x100").write("output.jpg")
  }
})