inspect-custom-symbol

1.1.1 • Public • Published

inspect-custom-symbol

Use util.inspect.custom without having to browserify util in the browser

npm install inspect-custom-symbol

Usage

var custom = require('inspect-custom-symbol')
 
var foo = {
  [custom]: () => 'totally foo'
}
 
console.log(foo) // prints totally foo

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i inspect-custom-symbol

Weekly Downloads

1,426

Version

1.1.1

License

MIT

Unpacked Size

2.42 kB

Total Files

6

Last publish

Collaborators

  • mafintosh