Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
jsesc
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
set-function-length
Set a function's length property
is-descriptor
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
array-union
Create an array of unique values, in order, from the input arrays
which-collection
Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
set-function-name
Set a function's name property
is-data-descriptor
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
is-weakset
Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
is-weakmap
Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
is-accessor-descriptor
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
has-proto
Does this environment have the ability to get the [[Prototype]] of an object on creation with `__proto__`?
is-map
Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
is-set
Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
map-cache
Basic cache object for storing key-value pairs.
base
Framework for rapidly creating high quality, server-side node.js applications, using plugins like building blocks
set-value
Set nested properties on an object using dot notation.
dot-prop
Get, set, or delete a property from a nested object using a dot path
set-proto
Robustly set the [[Prototype]] of an object
array-uniq
Create an array without duplicates
union-value
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.