any-newer-files

0.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i any-newer-files

Weekly Downloads

162

Version

0.0.4

License

New BSD

Last publish

Collaborators

  • serby