Skip to content

npm module to deletes all images that do not have the matching prefix

Notifications You must be signed in to change notification settings

akopcz2/no-match

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

❌ No-Match Module

Installation

$ npm install no-match

Usage

Define these three variable according to your enviornment

var imagesFolder = appRoot + '/build/static/images/';
var imageDirectory = '/build/static/images/';
var prefix;

This module was created inside of a buil system we use. We currently configure a deployment.json file which contains all of our deployment data including the prefix of our images if you're wondering what the purpose of a deployment.json file is.

Change Log

1.1.0

  • Initial release
  • Added App root module te reference the root of the project

About

npm module to deletes all images that do not have the matching prefix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published