Skip to content
JS
Package

@charpeni/one-of

Type-safe utilities to return a random element from an array or random entry from an object

v1.1.1, 29 Aug 2025MITESM + CommonJSTypes: Bundled
$ npm install @charpeni/one-of

Key numbers

As of 25 Sept 2026
Weekly downloads
2k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v1.1.1
GitHub stars
2
1 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
4

No weekly download data in the snapshot.

2,037 downloads last week, 6,616 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
1.1.1, 29 Aug 20251 year ago
First published
-
Last push to GitHub
14 Dec 2025284 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
4
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
12 kB
Dependencies (0)
None
npm install @charpeni/one-of
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@charpeni/one-of@1.1.1/
  • unpkghttps://unpkg.com/@charpeni/one-of@1.1.1/
  • esm.shhttps://esm.sh/@charpeni/one-of@1.1.1
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2037 < 10000; no category.