Kivach
Cascading donations
Add repoPopularDonorsF.A.Q.
My repos

Footer

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

DiscordTelegramTwitterMediumFacebookYouTubeGitHub

All information about repositories belongs to their owners.

More information about Kivach in the introductory article.

Built on Obyte

`which-collection` is a JavaScript utility library that identifies whether a given value is a `Map`, `Set`, `WeakMap`, or `WeakSet`, returning `false` for all other types. It's designed to work cross-realm and without relying on `instanceof` or `Symbol.toStringTag`, making it reliable for complex JavaScript environments. This tool is ideal for developers working with JavaScript collections who need robust type detection in cross-realm scenarios.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of inspect-js/which-collection

Account's avatar
inspect-js/is-map
Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Account's avatar
inspect-js/is-set
Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Account's avatar
inspect-js/is-weakmap
Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Account's avatar
inspect-js/is-weakset
Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Account's avatar
arethetypeswrong/arethetypeswronghub.io.git
A CLI tool for arethetypeswrong.github.io
Account's avatar
ljharb/eslint-config
My shareable eslint config
Account's avatar
DefinitelyTyped/DefinitelyTyped
TypeScript definitions for for-each
Account's avatar
DefinitelyTyped/DefinitelyTyped
TypeScript definitions for object-inspect
Account's avatar
DefinitelyTyped/DefinitelyTyped
TypeScript definitions for tape
Account's avatar
ljharb/aud
Use `npx aud` instead of `npm audit`, whether you have a lockfile or not!
Account's avatar
CookPete/auto-changelog
Command line tool for generating a changelog from git tags and commit history
Account's avatar
Raynos/for-each
A better forEach
Account's avatar
iarna/in-publish
Detect if we were run as a result of `npm publish`
Account's avatar
ljharb/npmignore
Command line tool for creating or updating a .npmignore file based on .gitignore.
Account's avatar
istanbuljs/nyc
the Istanbul command line interface
Account's avatar
inspect-js/object-inspect
string representations of objects in node and the browser
Account's avatar
ljharb/safe-publish-latest
Ensure that when you `npm publish`, the "latest" tag is only set for the truly latest version.
Account's avatar
tape-testing/tape
tap-producing test harness for node and browsers
Account's avatar
microsoft/TypeScript
TypeScript is a language for application scale JavaScript development

Support the repos that depend on this repository

Top contributors

ljharb's profile
ljharb
53 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet
inspect-js

inspect-js/which-collection

Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.

JavaScript
10
3
MIT License