Socket
Socket
Sign inDemoInstall

symbol.inspect

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    symbol.inspect

<symbol> that can be used to declare custom inspect functions.


Version published
Weekly downloads
16K
increased by9.72%
Maintainers
1
Install size
9.11 kB
Created
Weekly downloads
 

Changelog

Source

1.0.3 (2023-01-13)

♻️ Chores

  • just publish to github (ed527de)
  • copy symbol.inspect 1.0.0 (867a002)
  • release: publish (4541ed1)

🔖 Miscellaneous

Readme

Source

symbol.inspect

<symbol> that can be used to declare custom inspect functions.

see https://nodejs.org/api/util.html#util_util_inspect_custom

install

npm install symbol.inspect
import SymbolInspect = require('symbol.inspect');

class A
{
	[SymbolInspect]()
	{
		return 'my custom inspect display'
	}
}

console.log(new A);

Keywords

FAQs

Last updated on 13 Jan 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc