Think of stamps as classic classes but without any limits, boundaries, or rules.
The stamps brag large amount of features and things you can do with your objects and/or stamps.
Head straight to the Quick Start page for code examples.
Classes do child+parent+parent+parent... inheritance chains. See picture above.
When you extend a class you link class prototypes.
In most programming languages you execute only one constructor per class.
To pass data to the parent constructor you have to manually call parent constructor
To create an object you need to use the
const object = new MyClass().
Stamp executes every initializer (aka constructor) it has.
All initializers receive exactly the same set of arguments, no need to manually pass data.
The initializer execution sequence is the same as the stamp composition sequence.
To create an object you call stamp as a function:
const object = MyStamp().
The original idea of Stamps belongs to Eric Elliott. See his first commit from 11 Feb 2013 in the stampit repository. Since then the idea evolved to the specification and a whole ecosystem of mini modules.
Head straight to the Quick start for code examples.
Stampit have a lot of helper modules. You can always find the list of official NPM packages here: https://www.npmjs.com/~stamp
See more information on the Ecosystem page.