# aria-fs

> Asynchronous Nodejs FileSystem

Latest version **0.7.3** (published 2021-02-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install aria-fs
pnpm add aria-fs
yarn add aria-fs
bun add aria-fs
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.3 |
| Published | 2021-02-27 |
| First published | 2019-01-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Arjay Elbore |
| Maintainers | ngx-devtools |
| Keywords | fs, glob, files, mkdir, async |

## Links

- npm: https://www.npmjs.com/package/aria-fs
- Repository: https://github.com/aelbore/aria-fs
- Homepage: https://github.com/aelbore/aria-fs#readme
- Issues: https://github.com/aelbore/aria-fs/issues
- npm.io page: https://npm.io/package/aria-fs

## Dependencies (1)

- [picomatch](https://npm.io/package/picomatch.md) ^2.2.2

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 0.7.3 (latest) — 2021-02-27
- 0.7.2 — 2021-02-15
- 0.7.1 — 2021-02-05
- 0.7.0 — 2021-01-06
- 0.6.2 — 2020-12-18
- 0.6.1 — 2020-11-23
- 0.6.0 — 2020-11-22
- 0.5.2 — 2020-09-05
- 0.5.1 — 2020-08-02
- 0.5.0 — 2020-07-31
- 0.4.5 — 2020-06-19
- 0.4.3 — 2020-06-05
- 0.4.1 — 2020-05-30
- 0.4.0 — 2020-05-26
- 0.3.0 — 2020-05-02
- … 13 more at https://npm.io/package/aria-fs/versions

## README

[![Coverage Status](https://coveralls.io/repos/github/aelbore/aria-fs/badge.svg?branch=master&service=github)](https://coveralls.io/github/aelbore/aria-fs?branch=master)
[![Build Status](https://travis-ci.org/aelbore/aria-fs.svg?branch=master)](https://travis-ci.org/aelbore/aria-fs)
[![npm version](https://badge.fury.io/js/aria-fs.svg)](https://www.npmjs.com/package/aria-fs)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)

# aria-fs

Installation
------------
  ```
    npm install --save aria-fs
  ```


Usage
-----

* `globFiles` - return promise of string array of file paths matching one or more globs.
  - `globFiles(<globs>): Promise<string>`
  <br />
  
  ```js
  import { globFiles } from 'aria-fs';

  (async function(){
    const files = await globFiles('src/**/*.ts');
  })();
  ```
* `clean` - remove/delete directory and files matching the dir path.
  - `clean(<dir>): Promise<void>`
  <br />
  
  ```js
  import { clean } from 'aria-fs';

  (async function(){
    await clean('dist');
  })();
  ```
* `mkdirp` - recursively create directory.
  - `mkdirp(<dir>): void`
  <br />

  ```js
  import { mkdirp } from 'aria-fs';

  mkdirp('dist');
  ```
* `copyFiles` - copy list of files matching the globs.
  - `copyFiles(<globs>, <destRootDir>): Promise<void>`
  <br />
  
  ```js
  import { copyFiles } from 'aria-fs';

  (async function(){
    await copyFiles('src/**/*.ts', 'temp');
  })()
  ```

---
_Source: https://npm.io/package/aria-fs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
