which-collection@1.0.2
Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
MIT
2024-03-08
安装 (1.0.2)
npm install which-collection@1.0.2
yarn add which-collection@1.0.2
pnpm add which-collection@1.0.2
bun add which-collection@1.0.2
dependencies (4)
| 包名 | 版本要求 |
|---|---|
| is-map | ^2.0.3 |
| is-set | ^2.0.3 |
| is-weakmap | ^2.0.2 |
| is-weakset | ^2.0.3 |
devDependencies (16)
| 包名 | 版本要求 |
|---|---|
| @arethetypeswrong/cli | ^0.15.0 |
| @ljharb/eslint-config | ^21.1.0 |
| @types/for-each | ^0.3.3 |
| @types/object-inspect | ^1.8.4 |
| @types/tape | ^5.6.4 |
| aud | ^2.0.4 |
| auto-changelog | ^2.4.0 |
| eslint | =8.8.0 |
| for-each | ^0.3.3 |
| in-publish | ^2.0.1 |
| npmignore | ^0.3.1 |
| nyc | ^10.3.2 |
| object-inspect | ^1.13.1 |
| safe-publish-latest | ^2.0.0 |
| tape | ^5.7.5 |
| typescript | next |