Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

dummyimage

1.0.1 • Public • Published

DummyImage

Generate Dummy Image.

Installation

NOTES: DummyImage uses Cairo with node-canvas. Unless previously installed you'll need Cairo.

$ npm install dummyimage

Usage

var DummyImage = require('dummyimage');
 
var dummyimage = new DummyImage({
  dest: './images/',
  format: 'png',
  name: 'dummyimage',
  text: 'Dummy Dummy!'
});
 
dummyimage.create(function() {
  console.log('Done.');
});

CLI

$ node ./node_modules/.bin/dummyimage images/dummyimage.png

License

MIT

Keywords

none

install

npm i dummyimage

Downloadsweekly downloads

6

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar