# chainy-plugin-fs

> Chainy custom plugin that adds the fs utility methods as chainy actions.

Latest version **1.0.0** (published 2014-07-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install chainy-plugin-fs
pnpm add chainy-plugin-fs
yarn add chainy-plugin-fs
bun add chainy-plugin-fs
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2014-07-28 |
| First published | 2014-07-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | 2014+ Bevry Pty Ltd |
| Maintainers | balupton |
| Keywords | chainy, chainy-addon, chainy-plugin, chainy-custom, fs |

## Links

- npm: https://www.npmjs.com/package/chainy-plugin-fs
- Repository: https://github.com/chainy-plugins/fs
- Issues: https://github.com/chainy-plugins/fs/issues
- npm.io page: https://npm.io/package/chainy-plugin-fs

## Dependencies (1)

- [graceful-fs](https://npm.io/package/graceful-fs.md) ^3.0.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

- 1.0.0 (latest) — 2014-07-28

## README

<!-- TITLE/ -->

# File System plugin for [ChainyJS](http://chainyjs.org)

<!-- /TITLE -->


<!-- BADGES/ -->

[![Build Status](http://img.shields.io/travis-ci/chainy-plugins/chainy-plugin-fs.png?branch=master)](http://travis-ci.org/chainy-plugins/chainy-plugin-fs "Check this project's build status on TravisCI")
[![NPM version](http://badge.fury.io/js/chainy-plugin-fs.png)](https://npmjs.org/package/chainy-plugin-fs "View this project on NPM")
[![Dependency Status](https://david-dm.org/chainy-plugins/fs.png?theme=shields.io)](https://david-dm.org/chainy-plugins/fs)
[![Development Dependency Status](https://david-dm.org/chainy-plugins/fs/dev-status.png?theme=shields.io)](https://david-dm.org/chainy-plugins/fs#info=devDependencies)<br/>


<!-- /BADGES -->


<!-- CHAINY_DOCUMENTATION/ -->

<!-- DESCRIPTION/ -->

Chainy custom plugin that adds the fs utility methods as chainy actions.

<!-- /DESCRIPTION -->


``` javascript
require('chainy').create().require("fs log")Chainy.create()
	// Write method 1
	.set({a:1}).writeTo(path)

	// Write method 2
	.set(path).writeFile(path)

	// Check write worked
	.set(path).exists().log()  // true

	// Check write data worked
	.set(path).readFile().log()  // {a:1}

	// Delete
	.set(path).unlink()

	// Check delete worked
	.set(path).exists().log()  // false
```


<!-- /CHAINY_DOCUMENTATION -->


<!-- INSTALL/ -->

## Install

### [NPM](http://npmjs.org/)
- Use: `require('chainy-plugin-fs')`
- Install: `npm install --save chainy-plugin-fs`

<!-- /INSTALL -->


<!-- HISTORY/ -->

## History
[Discover the change history by heading on over to the `HISTORY.md` file.](https://github.com/chainy-plugins/chainy-plugin-fs/blob/master/HISTORY.md#files)

<!-- /HISTORY -->


<!-- CONTRIBUTE/ -->

## Contribute

[Discover how you can contribute by heading on over to the `CONTRIBUTING.md` file.](https://github.com/chainy-plugins/chainy-plugin-fs/blob/master/CONTRIBUTING.md#files)

<!-- /CONTRIBUTE -->


<!-- BACKERS/ -->

## Backers

### Maintainers

These amazing people are maintaining this project:

- Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)

### Sponsors

No sponsors yet! Will you be the first?



### Contributors

No contributors yet! Will you be the first?
[Discover how you can contribute by heading on over to the `CONTRIBUTING.md` file.](https://github.com/chainy-plugins/chainy-plugin-fs/blob/master/CONTRIBUTING.md#files)

<!-- /BACKERS -->


<!-- LICENSE/ -->

## License

Licensed under the incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT license](http://creativecommons.org/licenses/MIT/)

Copyright &copy; 2014+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)

<!-- /LICENSE -->

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