0.0.4 • Published 11 years ago
dir2pattern v0.0.4
node-dir-to-pattern
Fix dir path to pattern such as dir/**/*.* for grunt.file.expand.
Getting Started
Install with this command:
npm install dir2pattern --save-devUsage Examples
Basic
var fixPattern = require('dir2pattern');
cnosole.log(fixPattern('path/to/'));
// path/to/**/*.*Demo
node demo.jsHistory
- Ver 0.0.4 Move
fixfunction toexportit self - Ver 0.0.3 Bugfix: ignore directory name
- Ver 0.0.2 Fix readme
- Ver 0.0.1 init