structr
Last updated 15 years ago .
Original npm · Tarball · package.json
$ cnpm install structr 
SYNC missed versions from official npm registry.

Structr is a thin class library that helps create, and extend prototypes.

Example



function Animal(name) {
  this.name = name;
}

function Cat(name) {
  Cat.__super__.apply(this, arguments);
}

structr(Animal, Cat, {
  meow: function() {
    console.log(this.name + ": meow");
  }
});


Current Tags

  • 0.3.2                                ...           latest (12 years ago)

19 Versions

  • 0.3.2                                ...           12 years ago
  • 0.3.1                                ...           12 years ago
  • 0.3.0                                ...           12 years ago
  • 0.2.4                                ...           12 years ago
  • 0.2.3                                ...           13 years ago
  • 0.2.2                                ...           13 years ago
  • 0.2.0                                ...           14 years ago
  • 0.1.3                                ...           14 years ago
  • 0.1.0                                ...           14 years ago
  • 0.0.10                                ...           15 years ago
  • 0.0.8                                ...           15 years ago
  • 0.0.5                                ...           15 years ago
  • 0.0.4-3                                ...           15 years ago
  • 0.0.4-2                                ...           15 years ago
  • 0.0.4-1                                ...           15 years ago
  • 0.0.4                                ...           15 years ago
  • 0.0.3                                ...           15 years ago
  • 0.0.2                                ...           15 years ago
  • 0.0.1                                ...           15 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 5
Last Month 2
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2013 - present © cnpmjs.org | Home |