browser-util-inspect
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/browser-util-inspect package

0.2.0 • Public • Published

browser-util-inspect

This module contains minor modifications to the original by Automattic. It disregards legacy platform support and has zero dependencies, making it much lower weight.

This is an extraction of Node's inspect utility from the util module, with two fundamental advantages:

  • Single, focused module
  • Ready for use in-browser

How to use

With some kind of module bundler (webpack, etc):

import inspect from 'browser-util-inspect';
console.log(inspect({}));

License

MIT – Copyright (c) 2010-2014 Joyent, Inc.

Readme

Keywords

none

Package Sidebar

Install

npm i browser-util-inspect

Weekly Downloads

2,427

Version

0.2.0

License

MIT*

Last publish

Collaborators

  • deecewan