# fs-extra-factory

> fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.

Latest version **0.2.1** (published 2021-03-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install fs-extra-factory
pnpm add fs-extra-factory
yarn add fs-extra-factory
bun add fs-extra-factory
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2021-03-17 |
| First published | 2020-11-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 176 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | JP Richardson |
| Maintainers | winjowind |
| Keywords | fs, file, file system, copy, directory, extra, mkdirp, mkdir, mkdirs, recursive, json, read, write, extra, delete, remove, touch, create, text, output, move, promise |

## Links

- npm: https://www.npmjs.com/package/fs-extra-factory
- Repository: https://github.com/winjo/node-fs-extra
- Issues: https://github.com/winjo/node-fs-extra/issues
- npm.io page: https://npm.io/package/fs-extra-factory

## Dependencies (1)

- [universalify](https://npm.io/package/universalify.md) ^2.0.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.2.1 (latest) — 2021-03-17
- 0.2.0 — 2020-11-16
- 0.1.0 — 2020-11-15

## README

fs-extra-factory
=================

this is library is mainly built for the browser environment，now `fs-extra-factory` is export a factory, you should pass external module of `fs`, `path`, `process`, `buffer`, `assert`，so we can use [browserfs](https://github.com/jvilk/BrowserFS) with this library


### Usage
```js
import fsExtraFactory from 'fs-extra-factory'
const fs = fsExtraFactory({
  path,
  fs,
  buffer,
  assert,
  process
})
```
the return object fs has same interface with `fs-extra`

### Unit Test
beacuse browserfs does't support some api like `link`, `chmod`, so just skip these cases, now the test result:

156 passing<br/>
578 pending

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