@eidher/clay-ts
v0.2.36
Published
TypeScript library for Clay
Downloads
105
Readme
CLAY-TS
Same Clay, but salted! CLAY-TS :fire:
Do you like Clay (or maybe not)? Anyways, you'll :heart: Clay-TS
Clay-TS a library that encapsulate Clay into the flavour of TypeScript adding all the benefits and enhancements that TS provides. What benefits you might say, well these benefits:
- Code scalability with “Interface oriented development”
- TypeScript helps you dealing with growing teams
- Tooling and Community, for example, Microsoft made an awesome community effort work.
- ES-next compliance
- Types have a proven ability to enhance code quality and understandability. Large teams (Google, Microsoft, Facebook) have continually arrived at this conclusion.
- Types increase your agility when doing refactoring. It’s better for the compiler to catch errors than to have things fail at runtime.
- Types are one of the best forms of documentation you can have. The function signature is a theorem and the function body is the proof.
- TypeScript give you a taste of future JavaScript, with typing.
- Dependency injection opens up a lot of cool opportunities for testing, and controller based APIs.
- Combined with auto-injection libraries, it makes the code-base extremely maintainable and predictable. And it’s typed, so if you ever decide to swap out your logger service, you can depend on types and interfaces to make it a really simple change. Your code simply won’t compile if it receives something it’s not expecting.
And much more....
Need more? Here you have some very interesting links:
Menu
#Introduction As it was mentioned before, CLAY-TS is a library that utilize Clay and all of its packages to form a only-one package that encapsulate all its functionality in one easy-to-use and easy-to-understand version of Clay built in TypeScript which dramatically decrease its learning curve and increase the coding speed.