image-prefixr

1.2.3 • Public • Published

###Simple image pre-fixer if your project requires you to prefix your images.

Run this to rename all your images instead of doing this in image editing software like photoshop.

npm install

Change the following vars to match your file system and prefix

var imagesFolder = 'path to your images Folder'
var imagesDirectory = 'path to images directory'

You can either define your own prefix

var prefix = 'your prefix'

or if you have some sort of build deployment json, you can define the path the the file.

var = deploymentFile

after defining your variables, run

node prefix.js

to run the prefixr.

Next steps

convert into gulp plugin to port into gulp build Contributors Welcome!

License

Copyright (c) 2016 Adrian Kopczewski MIT

Package Sidebar

Install

npm i image-prefixr

Weekly Downloads

6

Version

1.2.3

License

MIT

Last publish

Collaborators

  • akopcz2