Skip to content
The cheesy object formatter
JavaScript
Branch: master
Clone or download
mgred add support for formatting maps (#51)
* add support for formatting maps

* Fix typo

* Update @sinonjs/samsam to version that has isMap method
Latest commit 8693846 Oct 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add test-check-coverage task Oct 6, 2019
.github Add CONTRIBUTING.md Feb 10, 2018
docs Use @sinonjs/samsam (#19) Sep 14, 2018
lib add support for formatting maps (#51) Oct 12, 2019
.editorconfig
.eslintignore build: add coverage folder to eslintignore Feb 4, 2019
.eslintrc.yaml
.gitignore Use @sinonjs/samsam (#19) Sep 14, 2018
AUTHORS Format symbols (#26) Mar 1, 2019
LICENSE Update year in license Aug 18, 2012
README.md Configure CircleCI and codecov Oct 1, 2019
mkdocs.yml Move documentation into mkdocs Feb 9, 2018
package-lock.json add support for formatting maps (#51) Oct 12, 2019
package.json add support for formatting maps (#51) Oct 12, 2019
rollup.config.js Use @sinonjs/samsam (#19) Sep 14, 2018

README.md

formatio

Build status codecov

The cheesy object formatter

Pretty formatting of arbitrary JavaScript values. Currently only supports ascii formatting, suitable for command-line utilities. Like JSON.stringify, it formats objects recursively, but unlike JSON.stringify, it can handle regular expressions, functions, circular objects and more.

formatio is a general-purpose library. It works in browsers (including old and rowdy ones, like IE6) and Node. It will define itself as an AMD module if you want it to (i.e. if there's a define function available).

Installation

npm install @sinonjs/formatio

Documentation

https://sinonjs.github.io/formatio/

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on GitHub with a link to your site. [Become a sponsor]

Licence

formatio was released under BSD-3

You can’t perform that action at this time.