0.0.4 • Published 10 years ago

any-newer-files v0.0.4

Weekly downloads
72
License
New BSD
Repository
github
Last release
10 years ago

any-newer-files

Compares two lists of files and returns true if any of the first list are newer than any in the second list.

build status

Installation

npm install any-newer-files --save

Usage

if (anyNewer(
  [ './stylus/main.styl', './stylus/gallery.styl', './stylus/user.styl' ]
  , [ './build/css/index.css', './build/css/user.css' ])) {
  recompile()
}

Credits

Paul Serby follow me on twitter @serby

Licence

Licenced under the New BSD License