Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

@sinonjs/formatio

5.0.1 • Public • Published

formatio

Build status codecov Contributor Covenant

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

Keywords

none

Install

npm i @sinonjs/formatio

DownloadsWeekly Downloads

2,241,160

Version

5.0.1

License

BSD-3-Clause

Unpacked Size

22.7 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar