Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fibjs-modules/rmdirr
remove all files and directories like rmdir -rf in fibjs.
https://github.com/fibjs-modules/rmdirr
fibjs rmdir
Last synced: about 1 month ago
JSON representation
remove all files and directories like rmdir -rf in fibjs.
- Host: GitHub
- URL: https://github.com/fibjs-modules/rmdirr
- Owner: fibjs-modules
- License: mit
- Created: 2016-04-07T16:35:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-17T14:58:55.000Z (over 7 years ago)
- Last Synced: 2024-11-08T20:16:49.839Z (about 1 month ago)
- Topics: fibjs, rmdir
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
- License: LICENSE
Awesome Lists containing this project
- awesome - rmdirr - remove all files and directories like rmdir -rf in fibjs. (Packages / File System)
README
# @fibjs/rmdirr
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![appveyor build status][appveyor-image]][appveyor-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url][npm-image]: https://img.shields.io/npm/v/@fibjs/rmdirr.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@fibjs/rmdirr
[travis-image]: https://img.shields.io/travis/fibjs-modules/rmdirr.svg?style=flat-square
[travis-url]: https://travis-ci.org/fibjs-modules/rmdirr
[appveyor-image]: https://ci.appveyor.com/api/projects/status/3yoaos4qnax1n2bs/branch/master?svg=true
[appveyor-url]: https://ci.appveyor.com/project/ngot/rmdirr
[codecov-image]: https://img.shields.io/codecov/c/github/fibjs-modules/rmdirr.svg?style=flat-square
[codecov-url]: https://codecov.io/github/fibjs-modules/rmdirr?branch=master
[david-image]: https://img.shields.io/david/fibjs-modules/rmdirr.svg?style=flat-square
[david-url]: https://david-dm.org/fibjs-modules/rmdirr
[snyk-image]: https://snyk.io/test/npm/@fibjs/rmdirr/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/@fibjs/rmdirr
[download-image]: https://img.shields.io/npm/dm/@fibjs/rmdirr.svg?style=flat-square
[download-url]: https://npmjs.org/package/@fibjs/rmdirrremove all files and directories like rmdir -rf in fibjs.
## Install
```bash
$ npm i @fibjs/rmdirr --save
```## Usage
```js
const rmdirr = require('@fibjs/rmdirr');try{
rmdirr('/tmp/a/c/d/e');
} catch(err) {
console.error(err);
}```
## Questions & Suggestions
Please open an issue [here](https://github.com/fibjs-modules/rmdirr/issues).
## License
[MIT](LICENSE)