1.0.7 • Published 7 years ago

chewie-pics v1.0.7

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
7 years ago

chewie-pics

You can use npm to install other package managers

You can use npm to install programming languages

Now, you can use npm to install pictures of my dog

Usage

Use npm-assets in your build pipeline to copy the images into your project.

Ex) node_modules/npm-assets/bin/npm-assets assets/images to copy them to assets/images

Then to get a random image:

var chewiePics = require('chewie-pics');

var path = 'assets/images/' + chewiePics.random();
// path will be like 'assets/images/chewie12.jpg'
1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago