onetime
Ensure a function is only called once
$
npm install onetimeOfficial docs outline
Extra Credit builds an outline of onetime's docs the first time your work uses it. Until then, start at the official documentation.
More in npm packages
All 9,484-
es-module-lexer Lexes ES modules returning their import/export metadata
-
is-glob Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses externa
-
y18n the bare-bones internationalization library used by yargs
-
is-extglob Returns true if a string has an extglob.
-
dotenv Loads environment variables from .env file
-
@babel/template Generate an AST from a string template.
-
jiti Runtime typescript and ESM support for Node.js
-
@babel/core Babel compiler core.
-
scheduler Cooperative scheduler for the browser environment.
-
qs A querystring parser that supports nesting and arrays, with a depth limit
-
dunder-proto If available, the `Object.prototype.__proto__` accessor and mutator, call-bound
-
call-bind-apply-helpers Helper functions around Function call/apply/bind, for use in `call-bind`