whatever-format

1.0.1 • Public • Published

whatever-format

Liberally accept yaml, ini, and json file formats.

API

decode(string)

Decode the yaml/ini/json string into a nested object.

readFile(path, fn)

Read file at path and call fn with decoded data.

readFileSync(path)

Read file at path synchronously and return decoded data.

License

MIT

Dependencies (4)

Dev Dependencies (3)

Package Sidebar

Install

npm i whatever-format

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • mvanasse