包详细信息

inspect-custom-symbol

mafintosh2.7kMIT1.1.1

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

自述文件

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