Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 916 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 916 Bytes

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'

iTerm2 package

This package is also distributed as a command line script to will display pictures of Chewie in iTerm2.

To install and use:

  1. brew tap robertjlooby/homebrew
  2. brew install chewie-pics
  3. chewie