Skip to content
JS
Package

only

return whitelisted properties of an object

v0.0.2, 12 Mar 2013No license fieldCommonJSTypes: None
$ npm install only

Key numbers

As of 25 Sept 2026
Weekly downloads
2.5m
-1% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
13 years ago
v0.0.2
GitHub stars
163
17 forks
Open issues / PRs
4 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.6m (5 May 2026)Low 1.2m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,486,308 downloads last week, 11,779,142 in the last month. The 12-month change of -1% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
02 in total
Latest version
0.0.2, 12 Mar 201313 years ago
First published
17 Jul 2012
Last push to GitHub
25 Feb 20202,403 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
162

Major versions

  1. v0 first release 0.0.1, 17 Jul 2012

Recent releases

VersionPublished
0.0.212 Mar 2013
0.0.117 Jul 2012
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install only
  • jsDelivrhttps://cdn.jsdelivr.net/npm/only@0.0.2/
  • unpkghttps://unpkg.com/only@0.0.2/
  • esm.shhttps://esm.sh/only@0.0.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.