Skip to content

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

License

Notifications You must be signed in to change notification settings

mafintosh/inspect-custom-symbol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published