Package
union-value
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 10.8m
- -8% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 7 years ago
- v2.0.1
- GitHub stars
- 24
- 15 forks
- Open issues / PRs
- 2 / 4
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
10,775,489 downloads last week, 41,015,240 in the last month. The 12-month change of -8% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 011 in total
- Latest version
- 2.0.1, 20 Jun 20197 years ago
- First published
- 4 Jul 2015
- Last push to GitHub
- 25 Jan 20221,704 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 4
- Commits, last 52 weeks
- 0
- Dependents on npm
- 662
Major versions
- v2 first release 2.0.0, 14 Dec 2018
- v1 first release 1.0.0, 25 Feb 2017
- v0 first release 0.1.0, 4 Jul 2015
Recent releases
| Version | Published |
|---|---|
| 1.0.1 | 24 Jun 2019 |
| 2.0.1 | 20 Jun 2019 |
| 2.0.0 | 14 Dec 2018 |
| 1.0.0 | 25 Feb 2017 |
| 0.2.4 | 25 Feb 2017 |
| 0.2.3 | 19 Jan 2016 |
| 0.2.2 | 19 Jan 2016 |
| 0.2.1 | 9 Nov 2015 |
| 0.2.0 | 6 Nov 2015 |
| 0.1.1 | 4 Jul 2015 |
| 0.1.0 | 4 Jul 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=6
- Runtimes
- -
- Unpacked size (npm)
- 7.6 kB
- Dependencies (2)
get-valueset-value
npm install union-value- jsDelivr
https://cdn.jsdelivr.net/npm/union-value@2.0.1/ - unpkg
https://unpkg.com/union-value@2.0.1/ - esm.sh
https://esm.sh/union-value@2.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @stdlib/utils-define-property | 611.6k | - | 7 months ago | CommonJS | - |
| @stdlib/utils-define-nonenumerable-read-only-property | 612.5k | - | 7 months ago | CommonJS | - |
Indexability: Indexed.