Key numbers
As of 25 Sept 2026
- Weekly downloads
- 1.1m
- +107% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 5 years ago
- v2.0.0-alpha.3
- GitHub stars
- 105
- 14 forks
- Open issues / PRs
- 4 / 5
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
1,147,367 downloads last week, 5,633,740 in the last month. The 12-month change of +107% 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
- 2.0.0-alpha.3, 31 Jul 20215 years ago
- First published
- 24 Apr 2011
- Last push to GitHub
- 17 Jun 20231,195 days before the snapshot
- Repository archived
- No
- Open issues
- 4
- Open pull requests
- 5
- Commits, last 52 weeks
- 0
- Dependents on npm
- 129
Major versions
- v1 first release 1.0.0, 3 Sept 2015
- v0 first release 0.1.0, 24 Apr 2011
Recent releases
| Version | Published |
|---|---|
| 1.0.0 | 3 Sept 2015 |
| 0.1.3 | 8 Oct 2014 |
| 0.1.2 | 14 May 2014 |
| 0.1.1 | 24 Apr 2011 |
| 0.1.0 | 24 Apr 2011 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=10
- Runtimes
- -
- Unpacked size (npm)
- 17 kB
- Dependencies (0)
- None
npm install tosource- jsDelivr
https://cdn.jsdelivr.net/npm/tosource@2.0.0-alpha.3/ - unpkg
https://unpkg.com/tosource@2.0.0-alpha.3/ - esm.sh
https://esm.sh/tosource@2.0.0-alpha.3
Indexability: Not indexed (discovery only): no category.