轻量的 Vite 插件,用于在 React 组件渲染的 DOM 上写入源码位置信息,便于在浏览器里定位到对应的文件和行列。
Inspect the intermediate state of Vite plugins
string representations of objects in node and the browser
Is this specifier a node.js core module?
Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Determine if the JS environment has Symbol support. Supports spec, or shams.
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Determine if the current node version supports the `--preserve-symlinks` flag.
Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
Does this JS environment support the `name` property on functions?
Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
Is this value a JS FinalizationRegistry? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Is this value negative zero? === will lie to you
Is this value a JS Number object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Determine if a value is an ES6 Symbol or not.
Returns an array of Typed Array names that are available in the current environment
Determine if a function is a native generator function.
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.