Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stampit-org/stamp
Stamps - better OOP model
https://github.com/stampit-org/stamp
dependency-injection oop stamp
Last synced: 2 months ago
JSON representation
Stamps - better OOP model
- Host: GitHub
- URL: https://github.com/stampit-org/stamp
- Owner: stampit-org
- License: mit
- Created: 2016-07-09T08:25:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-17T06:08:58.000Z (about 2 years ago)
- Last Synced: 2024-10-14T10:09:42.683Z (3 months ago)
- Topics: dependency-injection, oop, stamp
- Language: JavaScript
- Homepage: https://stampit.js.org
- Size: 2.29 MB
- Stars: 25
- Watchers: 10
- Forks: 3
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stamp
_Mono repository for stamp related packages._
Documentation: https://stampit.js.org
* `@stamp/arg-over-prop` - Assign properties passed to the stamp factory
* `@stamp/check-compose` - Command line tool to test your 'compose' function implementation
* `@stamp/collision` - Detect and manipulate method collisions
* `@stamp/compose` - Compose function implementation to create stamps
* `@stamp/configure` - Access configuration of your stamps anywhere
* `@stamp/core` - Core functions for creating stamps
* `@stamp/eventemittable` - Node.js' EventEmitter as a stamp
* `@stamp/fp-constructor` - Adds the Functional Programming capabilities to your stamps
* `@stamp/init-property` - Replaces properties which reference stamps with objects created from the stamps
* `@stamp/instanceof` - Enables `obj instanceof MyStamp` in ES6 environments
* `@stamp/is` - Various checking functions used with stamps
* `@stamp/it` - A nice, handy API implementation of the compose standard
* `@stamp/named` - (Re)Name a stamp factory function
* `@stamp/privatize` - Protect private properties
* `@stamp/required` - Insist on a method/property/staticProperty/configuration presence
* `@stamp/shortcut` - Adds handy shortcuts for stamp composition# Changelog
* **v0.x.x** were development versions.
* **v1.x.x** are production ready versions. No API changes comparing to v0.x.x.# Development
## Install
Run `npm install` as usual followed by `npm run bootstrap` which creates local references to modules that require each other.
1. `npx lerna init`
2. `npm install`
3. `npx lerna run build`## Tests
The `npm test` command will execute [Jest](https://github.com/facebook/jest) tests, and then [JSHint](https://github.com/jshint/jshint).
The `npm test -- --watch` command will watch file changes and execute tests as needed.