JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 95
  • Score
    100M100P100Q7329F
  • License MIT

fs / fs-extra promise wrapper

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

NPM version Travis build Dependencies Dev dependencies

fs / fs-extra promise wrapper

Install

$ npm install @absolunet/fsp

Usage

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