read-data 
Utils for reading JSON and YAML data files.
Install
Install with npm
npm i read-data --save
api
filepath
{String}returns
: {String}
Read JSON file synchronously and parse content as JSON
filepath
{String}callback
{Function}
Read JSON file asynchronously and parse content as JSON
filepath
{String}callback
{Function}
Read YAML file synchronously and parse content as JSON
filepath
{String}callback
{Function}
Read YAML file synchronously and parse content as JSON
filepath
{String}callback
{Function}
Determine the reader based on extension.
filepath
{String}callback
{Function}
Determine the reader based on extension (async).
filepath
{String}returns
: {String}
Read optional JSON (Ben Alman https://gist.github.com/2876125)
filepath
{String}returns
: {String}
Read optional YAML (Ben Alman https://gist.github.com/2876125)
Authors
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license
This file was generated by verb-cli on October 24, 2014.