Package Exports
- @absolunet/fsp
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@absolunet/fsp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@absolunet/fsp
fs / fs-extra promise wrapper
Install
$ npm install @absolunet/fspUsage
const fsp = require('@absolunet/fsp');
fsp.chmodPattern('/path1/path2/**/*.js', '775').then(() => {
console.log('Yeah!');
});API
chmodPattern(pattern, mode, [options])
Applies fs.chmod for matching glob pattern file/dir.
Promise returns nothing.
pattern
Required
Type: string
glob pattern.
mode
Required
Type: string
File mode.
options
Type: Object
glob options.
License
MIT © Absolunet