Package
base-option
Adds a few options methods to base, like `option`, `enable` and `disable`. See the readme for the full API.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 19.9k
- -23% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 8
- Direct, from package.json
- Last release
- 9 years ago
- v1.0.0
- GitHub stars
- 13
- 2 forks
- Open issues / PRs
- 1 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
19,892 downloads last week, 91,318 in the last month. The 12-month change of -23% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.0.0, 30 May 20179 years ago
- First published
- -
- Last push to GitHub
- 6 Nov 20192,514 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 11
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=0.10.0
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (8)
isobjectget-valueset-valuelazy-cachemixin-deepis-valid-appoption-cachedefine-property
npm install base-option- jsDelivr
https://cdn.jsdelivr.net/npm/base-option@1.0.0/ - unpkg
https://unpkg.com/base-option@1.0.0/ - esm.sh
https://esm.sh/base-option@1.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| config-dug | 7.8k | - | 2 months ago | CommonJS | - |
| lilconfig | 60.7m | - | 1 year ago | CommonJS | - |
| data-store | 26.6k | - | 7 years ago | CommonJS | - |
| convict | 883.5k | - | 6 months ago | CommonJS | - |
| auto-config-loader | 82.2k | - | 6 months ago | ESM + CommonJS | - |
| envars | 7.6k | - | 1 year ago | ESM only | - |
| convict-format-with-validator | 69k | - | 5 years ago | CommonJS | - |
| convict-format-with-moment | 7.6k | - | 5 years ago | CommonJS | - |
Indexability: Indexed.