Skip to content
The cheesy object formatter
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
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add test-check-coverage task Oct 6, 2019
.github Add Feb 10, 2018
docs Use @sinonjs/samsam (#19) Sep 14, 2018
lib add support for formatting maps (#51) Oct 12, 2019
.eslintignore build: add coverage folder to eslintignore Feb 4, 2019
.gitignore Use @sinonjs/samsam (#19) Sep 14, 2018
AUTHORS Format symbols (#26) Mar 1, 2019
LICENSE Update year in license Aug 18, 2012 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


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).


npm install @sinonjs/formatio



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


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


formatio was released under BSD-3

You can’t perform that action at this time.