This will be used to build out mocking in the devtools frontend unit tests. DISABLE_THIRD_PARTY_CHECK=message doesn't apply with this change (checked with aerotwist@). Change-Id: Ie623b4fb35677c8c4a5e52d5e75180346da6e3fd Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2050225 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
9.9 KiB
formatio
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