Skip to main content
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Cloud
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Pricing
Starts free and scales with your needs
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
once
Create a function that calls and cache a function once
KSXGitHub/deno-once
Version
Latest
0.3.0
0.2.3
0.2.1-ts
0.2.0
0.2.0-ts
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Directory
.vscode
26 B
index.d.ts
436 B
index.js
597 B
index.ts
593 B
LICENSE.md
1 KB
README.md
326 B
test.ts
1 KB