[WIP 0.0.1] Minimal Independant Typescript Patterns Library for faster development
After a lot of projects with Typescript and Javascript, I saw I implemented the same patterns on all projects. This library regroups all the code I'm always using without any dependency.
Mixins are designed to add features on a class.
You can add any number of mixins to a class.
JS and TS doesn't provide any technique to do multiple inheritance, so mixin are a way to achieve this.
- AddObservable more : add Observable methods to a class.
npm i
npm run test
almanach is using two types of test :
- standard unit tests (backward compatibility) with jest
- type tests (error detection through Typescript) with tsd
I remembered second Back to the future
movie, and, in French, the book containing all the sports results was an almanach
.
The word is cool, so why not using it ?
MIT