onetime
npmv8.0.0Ensure a function is only called once
License MITpermissive15 versions1 maintainers1 deps136,268,948 weekly dl
sindresorhus/onetime82
/ 100
Health
safe to use
[email protected] is safe to use (health: 82/100)
Health breakdown0 – 100
20/25
maintenance
20/20
popularity
25/25
security
15/15
maturity
2/15
community
Vulnerabilities
0
none known
Bundle & TypeScript
📦
Bundle Size
1.6 KBminified
0.8 KB gzipped
1 direct dependencies
🌟
TypeScript
10/10typed
bundled
Maintainer trust
Active maintainers (3m)
1
Contributors (12m)
1
Primary author dominance
100%
GitHub stars
166
single active maintainer 3msingle author dominance
Quality signals
OSS Criticality
0.78critical
Download trend
stable(+0.8%)
Publish security
npm signed
Health History
Dependency Tree
License Audit
Dependencies (1)
API access
Get this data programmatically — free, no authentication.
curl https://depscope.dev/api/check/npm/onetimeFirst published · 2013-12-13T21:20:15.964Z
Last updated · 2026-02-02T07:42:24.047Z