Package
desm
get the file directory from import.meta.url
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 389.1k
- +5% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 2 years ago
- v1.3.1
- GitHub stars
- 116
- 8 forks
- Open issues / PRs
- 0 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
389,136 downloads last week, 2,020,641 in the last month. The 12-month change of +5% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 05 in total
- Latest version
- 1.3.1, 17 Jan 20242 years ago
- First published
- 3 Jun 2020
- Last push to GitHub
- 29 Jan 2024969 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 62
Major versions
- v1 first release 1.0.0, 3 Jun 2020
Recent releases
| Version | Published |
|---|---|
| 1.3.1 | 17 Jan 2024 |
| 1.3.0 | 26 May 2022 |
| 1.2.0 | 26 Aug 2021 |
| 1.1.0 | 29 Nov 2020 |
| 1.0.0 | 3 Jun 2020 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 4.6 kB
- Dependencies (0)
- None
npm install desm- jsDelivr
https://cdn.jsdelivr.net/npm/desm@1.3.1/ - unpkg
https://unpkg.com/desm@1.3.1/ - esm.sh
https://esm.sh/desm@1.3.1
Indexability: Indexed.