1.0.8 • Published 8 months ago

@zoai/core v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
8 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

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago