All Projects → jonschlinkert → write-yaml

jonschlinkert / write-yaml

Licence: MIT license
Basic node.js utility for converting JSON to YAML and writing formatting YAML files to disk.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to write-yaml

Write
Write data to the file system, creating any intermediate directories if they don't already exist. Used by flat-cache and many others!
Stars: ✭ 68 (+78.95%)
Mutual labels:  disk, fs, file, file-system
fs-utils
Generalized file and path utils for Node.js projects.
Stars: ✭ 33 (-13.16%)
Mutual labels:  fs, file, file-system, write
python-yamlable
A thin wrapper of PyYaml to convert Python objects to YAML and back
Stars: ✭ 28 (-26.32%)
Mutual labels:  yaml, file, write
readdir
Recursively read a directory, blazing fast. Use with picomatch or micromatch to match globs.
Stars: ✭ 37 (-2.63%)
Mutual labels:  fs, file-system
copy
Copy files using glob patterns. Sync, async, promise or streams. (node.js utility)
Stars: ✭ 84 (+121.05%)
Mutual labels:  fs, write
bash-glob
Bash-powered globbing for node.js. Alternative to node-glob. Does not work on Windows 9 and lower.
Stars: ✭ 13 (-65.79%)
Mutual labels:  fs, file-system
Spiffs
Wear-leveled SPI flash file system for embedded devices
Stars: ✭ 1,105 (+2807.89%)
Mutual labels:  file, file-system
Electron Storage
Simply save/load json files to/from file system in electron applications
Stars: ✭ 109 (+186.84%)
Mutual labels:  fs, file-system
Chonky
😸 A File Browser component for React.
Stars: ✭ 313 (+723.68%)
Mutual labels:  fs, file
Steno
Specialized fast async file writer
Stars: ✭ 236 (+521.05%)
Mutual labels:  fs, file
Filesystem
FileSystem is an application that allows you to browse the content of your iPhone disk, displaying file and folders, files contents, and detailed informations about file and folder permissions.
Stars: ✭ 148 (+289.47%)
Mutual labels:  disk, file
read-yaml
Very thin wrapper around js-yaml for directly reading in YAML files.
Stars: ✭ 25 (-34.21%)
Mutual labels:  yaml, file
watcher
The file system watcher that strives for perfection, with no native dependencies and optional rename detection support.
Stars: ✭ 37 (-2.63%)
Mutual labels:  fs, file
vue-fs
A Vue file management client, complete with a node/express/FS backend.
Stars: ✭ 40 (+5.26%)
Mutual labels:  fs, file-system
React Native Fetch Blob
This project was started in the cause of solving issue facebook/react-native#854, React Native's lacks of Blob implementation which results into problems when transferring binary data.
Stars: ✭ 2,593 (+6723.68%)
Mutual labels:  file, file-system
Filer
Node-like file system for browsers
Stars: ✭ 389 (+923.68%)
Mutual labels:  fs, file
atomically
Write files atomically and reliably.
Stars: ✭ 136 (+257.89%)
Mutual labels:  file, write
TLightFileStream
Implements a lightweight, high-performance, non-allocating advanced-record-based wrapper around the SysUtils file handling routines as an alternative to Classes.TFileStream.
Stars: ✭ 21 (-44.74%)
Mutual labels:  file, file-system
Node Ntfs
Windows NT File System (NTFS) file system driver
Stars: ✭ 18 (-52.63%)
Mutual labels:  disk, fs
Rustbreak
A simple, fast and easy to use self-contained single file storage for Rust
Stars: ✭ 315 (+728.95%)
Mutual labels:  yaml, file

write-yaml NPM version NPM monthly downloads Linux Build Status

Write YAML. Converts JSON to YAML writes it to the specified file.

Install

Install with npm:

$ npm install --save write-yaml

Install with yarn:

$ yarn add write-yaml

Usage

Add to your javascript/node.js application with the following line of code:

var yaml = require('write-yaml');

async

var data = {language: 'node_js', node_js: ['0.10', '0.11']};

yaml('.travis.yml', data, function(err) {
  // do stuff with err
});

Would write .travis.yml to disk with the following contents:

language: node_js
node_js:
  - "0.10"
  - "0.11"

sync

yaml.sync('.travis.yml', data);

Would write .travis.yml to disk with the following contents:

language: node_js
node_js:
  - "0.10"
  - "0.11"

About

Related projects

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Contributors

Commits Contributor
12 jonschlinkert
2 shinnn

Building docs

(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)

To generate the readme, run the following command:

$ npm install -g verbose/verb#dev verb-generate-readme && verb

Running tests

Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:

$ npm install && npm test

Author

Jon Schlinkert

License

Copyright © 2017, Jon Schlinkert. Released under the MIT License.


This file was generated by verb-generate-readme, v0.5.0, on April 12, 2017.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].