This package has been deprecated
Author message:
I wrote this module a very long time ago; you should use something else.
behind
0.1.0 • Public • Published Behind
Does mtime checking of a dependent file vs a bunch of dependencies. Basically
the same thing a make task does before running.
Example
var behind = require('behind');
behind('./dependent.out', [ './dependency.in' ], function (err, deps) {
if (err) throw err;
if (deps) {
console.log('stale dependencies:', deps);
}
});
Alternately:
var behind = require('behind').sync;
var deps = behind('./dependent.out', [ './dependency.in' ]);
if (deps) {
console.log('stale dependencies:', deps);
}
That's pretty much it.
License
MIT
Package Sidebar
Install
Weekly Downloads