Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
kind-of
Get the native type of a value.
onetime
Ensure a function is only called once
callsites
Get callsites from the V8 stack trace API
function-bind
Implementation of Function.prototype.bind
call-bind
Robustly `.call.bind()` a function
anymatch
Matches strings against configurable strings, globs, regular expressions, and/or functions
reusify
Reuse objects and functions with style
once
Run a function exactly one time
p-try
`Start a promise chain
is-callable
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
parent-module
Get the path of the parent module
run-parallel
Run an array of functions in parallel
is-extendable
Returns true if a value is a plain object, array or function.
is-generator-function
Determine if a function is a native generator function.
set-function-length
Set a function's length property
define-lazy-prop
Define a lazily evaluated property on an object
function.prototype.name
An ES2015 spec-compliant `Function.prototype.name` shim
functions-have-names
Does this JS environment support the `name` property on functions?
call-bound
Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.
boolbase
two functions: One that returns true, one that returns false