image-prefixr
v1.2.3
Published
Downloads
7
Maintainers
Readme
###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