Search results

471 packages found

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

published version 2.0.4, 6 years ago6200 dependents licensed under $ISC
409,293,101

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
52,095,174

Utils for working with JavaScript classes and prototype methods.

published version 0.3.6, 7 years ago798 dependents licensed under $MIT
51,247,773

Return the prototype of a provided object.

published version 0.2.2, 10 months ago41 dependents licensed under $Apache-2.0
1,904,037

Simple CLDR traverser

published version 0.5.5, 5 years ago17 dependents
1,109,116

Create objects from reusable, composable behaviors.

published version 4.3.2, 4 years ago193 dependents licensed under $MIT
815,355

o3 - Javascript Class Framework

published version 1.0.3, 9 years ago3 dependents licensed under $MIT
437,938

Get the prototype chain of any value as an Array

published version 1.0.5, 9 years ago9 dependents licensed under $ISC
513,819

A JavaScript object inheritance utility.

published version 4.2.3, 7 years ago11 dependents licensed under $MIT
354,443

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,139

Inheritance module for Node.js and browsers

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

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
299,637

Extend constructors using backbone's .extend signature

published version 0.1.1, 10 years ago22 dependents licensed under $MIT
157,347

Collection of mixin tools for objects and functions

published version 1.0.0, 9 years ago9 dependents licensed under $MIT
131,299

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

published version 2.0.0, 9 years ago22 dependents licensed under $MIT
105,914

Enhanced inheritance for dynamic inheritance and mixin.

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

A future proof, backward compatible, JavaScript class utility.

published version 2.1.1, 10 years ago10 dependents licensed under $MIT
96,357

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,932

Backbone like Class.extend utility for Node

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

Easily subclass errors

published version 2.6.1, a year ago24 dependents licensed under $MIT
54,041