@prayerslayer/prettyprint

1.0.0 • Public • Published

prettyprint

Build status Coverage Status

JSON.stringify with support for non-JSON values (like Symbols)

Installation

npm install @prayerslayer/prettyprint

Usage

ES5:

var pretty = require('@prayerslayer/prettyprint')
console.log(pretty({foo: Symbol()}))
/*
{
  "foo": Symbol()
}
*/

ES6:

import pretty from '@prayerslayer/prettyprint'
console.log(pretty({foo: Symbol()}))
/*
{
  "foo": Symbol()
}
*/

License

MIT, see LICENSE

Readme

Keywords

Package Sidebar

Install

npm i @prayerslayer/prettyprint

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • prayerslayer