Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
class-utils
Utils for working with JavaScript classes and prototype methods.
vigour-base
'injectacble classes'
uncouple
Uncouple constructors and classes methods into functions.
node-class
Javascript Class system (Object oriented). Support Interfaces, Classes, Extends/Implements.
@evturn/proto
Prototypes as classes
mix-classes
Seamlessly combine class inheritance with composition, guaranteed to work with any class
x-object
JsDK of the Class of Classes Object Class
is-arrayish
Determines if an object can be used as an array
string.prototype.trimend
ES2019 spec-compliant String.prototype.trimEnd shim.
get-proto
Robustly get the [[Prototype]] of an object
has-proto
Does this environment have the ability to get the [[Prototype]] of an object on creation with `__proto__`?
string.prototype.trimstart
ES2019 spec-compliant String.prototype.trimStart shim.
iterator.prototype
`Iterator.prototype`, or a shared object to use.
set-proto
Robustly set the [[Prototype]] of an object
static-extend
Adds a static `extend` method to a class, to simplify inheritance. Extends the static properties, prototype properties, and descriptors from a `Parent` constructor onto `Child` constructors.
secure-json-parse
JSON parse with prototype poisoning protection
msw
Seamless REST/GraphQL API mocking library for browser and Node.js.
auto-bind
Automatically bind methods to their class instance
clone-stats
Safely clone node's fs.Stats instances without losing their class methods
@hapi/bourne
JSON parse with prototype poisoning protection