1.0.8 • Published 7 months ago

@zoai/core v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

npm version

npm

zoai

From Zed to A International - A multilingual package for your applications

Installation

pnpm add @zoai/core

Usage

import { Zoai } from "@zoai/core";

const zoai = new Zoai({
  helloWorld: "Hello World",
  goodbyeWorld: "Goodbye World",
  helloBye: "Hello {{name}}",
} as const);

console.log(zoai.t("helloWorld"));
console.log(zoai.t("goodbyeWorld"));
console.log(zoai.t("helloBye", { name: "John" }));

Contributing

See CONTRIBUTING.md for more information.

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago