Socket
Socket
Sign inDemoInstall

awesome-yaml-reader

Package Overview
Dependencies
4
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    awesome-yaml-reader

Awesome minimal wrapper around js-yaml for directly reading in YAML files


Version published
Weekly downloads
3
decreased by-50%
Maintainers
1
Install size
781 kB
Created
Weekly downloads
 

Readme

Source

logo

Awesome YAML Reader

Awesome minimal wrapper around js-yaml for directly reading in YAML files

DepfuLicenseNode VersionBuild Status

NPM bundle size (minified)NPM bundle size (minified + gzip)NPM VersionNPM Weekly DownloadsNPM Total Downloads


Installation

Add the package through your package manager of choice:

npm install awesome-yaml-reader
# yarn add awesome-yaml-reader

Example Usage

const readYaml = require('awesome-yaml-reader');
// supports default import for ES6: import readYaml from 'awesome-yaml-reader'

const actual = readYaml('/path/to/some/yaml/file');
// => JavaScript object with the keys from the yaml

readYaml(filepath, [options])

Kind: global function

ParamTypeDescription
filepathstring

Path to the yaml file to parse

[options]AwesomeYamlReaderOptions

Options for the YAML parser and fs file reader


This is the documentation for Awesome YAML Reader. Documentation is generated by JSDoc and jsdoc-to-markdown.

© 2019 Jeroen Claassens (Favna) support@favna.xyz

Keywords

FAQs

Last updated on 28 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc