any-image

1.1.0 • Public • Published

any-image

dummy image designed to draw attention to the need for an actual image

Features

  • you can generetean image with (getImage(),getImage(500,600)),
    • getImage() it return an image : width=400 and height=400 ,
    • getImage(500,300) it return an image : width=500 and height=300

1.0.0

Initial release of any-image


Installation

Using npm:

$ npm i any-image

How to use

In Node.js:

const {getImage} = require('any-image');
console.log(getImage(500,300))

Or:

const anyname = require('any-image').default;
console.log(anyname())

Or:

var anyImage = require("any-image")
const img=anyImage.getImage(155,20)
console.log(img)

Enjoy!!

Package Sidebar

Install

npm i any-image

Weekly Downloads

4

Version

1.1.0

License

ISC

Unpacked Size

1.77 kB

Total Files

4

Last publish

Collaborators

  • kawan97