chmodr
like `chmod -R`
Last updated a year ago by isaacs .
BlueOak-1.0.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm install chmodr 
SYNC missed versions from official npm registry.

Description

Has the same effect as the command line command: chmod -R.

Install

npm i --save chmodr

Usage

import { chmodr, chmodrSync } from 'chmodr'
// or:
// const { chmodr, chmodrSync } = require('chmodr')

// async promise style
await chmodr('/var/www/my/test/folder', 0o777)
// sync immediate style
chmodrSync('/some/other/dir', 0o644)

Current Tags

  • 2.0.2                                ...           latest (a year ago)

12 Versions

  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.2.0                                ...           8 years ago
  • 1.1.0                                ...           8 years ago
  • 1.0.2                                ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
  • 0.1.2                                ...           11 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           14 years ago
  • 0.0.1                                ...           14 years ago
Maintainers (1)
Downloads
Total 38
Today 0
This Week 0
This Month 13
Last Day 0
Last Week 0
Last Month 9
Dependencies (0)
None
Dev Dependencies (7)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE