Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 393 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 393 Bytes

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