Search results

471 packages found

Browser-friendly inheritance fully compatible with standard node.js inherits()

published version 2.0.4, 6 years ago6199 dependents licensed under $ISC
408,350,673

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.

published version 0.1.2, 9 years ago799 dependents licensed under $MIT
51,998,297

Utils for working with JavaScript classes and prototype methods.

published version 0.3.6, 7 years ago798 dependents licensed under $MIT
51,146,896

Return the prototype of a provided object.

published version 0.2.2, 10 months ago41 dependents licensed under $Apache-2.0
1,898,229

Simple CLDR traverser

published version 0.5.5, 5 years ago17 dependents
1,112,248

Create objects from reusable, composable behaviors.

published version 4.3.2, 4 years ago193 dependents licensed under $MIT
811,414

o3 - Javascript Class Framework

published version 1.0.3, 9 years ago3 dependents licensed under $MIT
448,398

A JavaScript object inheritance utility.

published version 4.2.3, 7 years ago11 dependents licensed under $MIT
353,613

Get the prototype chain of any value as an Array

published version 1.0.5, 9 years ago9 dependents licensed under $ISC
491,576

Convert classes into factory functions so they can be called with or without new.

published version 1.0.0, 10 years ago14 dependents licensed under $MIT
332,330

Inheritance module for Node.js and browsers

published version 2.2.7, 7 years ago85 dependents licensed under $MIT
274,746

Advanced but lightweight and fast Javascript inheritance model providing class members and prototype conversion.

published version 1.2.1, 9 years ago6 dependents licensed under $MIT
298,592

Extend constructors using backbone's .extend signature

published version 0.1.1, 10 years ago22 dependents licensed under $MIT
170,088

Collection of mixin tools for objects and functions

published version 1.0.0, 9 years ago9 dependents licensed under $MIT
135,910

JS class extension tool for enabling easily extending prototype with multiple objects.

published version 2.0.0, 9 years ago22 dependents licensed under $MIT
117,599

A future proof, backward compatible, JavaScript class utility.

published version 2.1.1, 10 years ago10 dependents licensed under $MIT
100,362

Enhanced inheritance for dynamic inheritance and mixin.

published version 2.1.0, 9 months ago46 dependents licensed under $MIT
105,793

Test whether a value has in its prototype chain a specified constructor as a prototype property.

published version 0.2.2, 10 months ago4 dependents licensed under $Apache-2.0
79,060

Easily subclass errors

published version 2.6.1, a year ago24 dependents licensed under $MIT
57,536

Backbone like Class.extend utility for Node

published version 1.0.0, 5 months ago38 dependents licensed under $MIT
40,960