0.1.3 • Published 11 years ago

audit-shelljs v0.1.3

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

audit-shelljs

Audit directory properties/content with ShellJS.

  • Declare expectations with chaining. Stop at first failure.
  • Use any ShellJS method.
  • Convenience wrappers.

Build Status

Example

var audit = new auditShelljs.create();
audit
  .set('dir', '/path/to/dir'); // Target directory
  .hasFile('README.md')
  .refute.grep('console.log', 'lib/**/*.js');

if (audit.pass()) {
  // Expectations met
} else {
  // Inspect audit.last()
}

Installation

NPM

npm install audit-shelljs

API Documentation

AuditShelljs

License

MIT

Tests

npm test
0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago