1.0.0 • Published 3 years ago
trs-contexts v1.0.0
How To Use It?
You should use NPM to install it:
npm i trs-contexts
Then you can use it:
const config = {
Silav: "Hello",
Were: "Come"
}
const tC = new TrsContexts(config);
tC.do("Silav");
And it returns a string containing the translation of the context you've specified.
1.0.0
3 years ago