@z3phyro/tyres-core
v0.1.7
Published
Core project of CLI inspired by prisma, to create and mantain statically typed resources on any typescript project.
Downloads
2
Maintainers
Readme
TyRes - Core (Typed Resources - Core)
Library to harness the power of typescript to improve the implementation of i18n, feature flags and soon more.
How to use
You can use it with a UI:
- https://www.npmjs.com/package/@z3phyro/tyres-ui
Or with a CLI:
- https://www.npmjs.com/package/@z3phyro/tyres-cli
Why use TyRes
Not all javascript/typescript projects use some sort of CMS. I've worked before for companies that literally use a spreadsheet for making their translations in some projects.
In general the process of preparing translations is not so difficult if you have a small project but as the project grows it can get kind of tedious.
Having mutiple languages to translate to makes the process a bit more difficult.
Both the CLI and the UI provide some useful features for both the developer and the translator.
TyTra Features
- Zero dependencies
- Translation Coverage
- Typescript intellisense
- Multi dictionary management
- Import previous translation files
- Easily add remove and edit translations on one or multiple languages
- Keep consistency in your code with typescript interfaces for translations