# yamlfile

> simple api to read and write yaml files

Latest version **1.0.1** (published 2015-03-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install yamlfile
pnpm add yamlfile
yarn add yamlfile
bun add yamlfile
```

## 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.1 |
| Published | 2015-03-12 |
| First published | 2015-03-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Geza Kovacs |
| Maintainers | geza |
| Keywords | yaml, read, write, sync, readFileSync |

## Links

- npm: https://www.npmjs.com/package/yamlfile
- Repository: https://github.com/gkovacs/yamlfile
- Issues: https://github.com/gkovacs/yamlfile/issues
- npm.io page: https://npm.io/package/yamlfile

## Dependencies (1)

- [js-yaml](https://npm.io/package/js-yaml.md) ^3.2.7

## Alternatives

- [monaco-yaml](https://npm.io/package/monaco-yaml.md) — 420.1K weekly downloads
- [@crewx/workflow](https://npm.io/package/@crewx/workflow.md) — 3.1K weekly downloads
- [yaml-cat](https://npm.io/package/yaml-cat.md) — 38 weekly downloads
- [nunjucks-in-yaml](https://npm.io/package/nunjucks-in-yaml.md) — 9 weekly downloads
- [shopify-symlinks](https://npm.io/package/shopify-symlinks.md) — 3 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-03-12
- 1.0.0 — 2015-03-12

## README

# yamlfile

simple api to read and write yaml files

## Install

    npm install yamlfile

## Using

Reading a yaml file

```javascript
var yamlfile = require('yamlfile')
var data = yamlfile.readFileSync('somefile.yaml')
```

Writing a yaml file

```javascript
var yamlfile = require('yamlfile')
var data = {a: 3, b: 5}
yamlfile.writeFileSync('somefile.yaml', data)
```
## Author

[Geza Kovacs](http://github.com/gkovacs)

## License

MIT

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