2.1.0 • Published 2 years ago

@lifaon/rx-i18n v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm (scoped) npm NPM npm type definitions

rx-i18n

This library provides functions to build i18n applications using Observables.

📦 Installation

yarn add @lifaon/rx-i18n
# or
npm install @lifaon/rx-i18n --save

This library supports:

  • common-js (require): transpiled as es5, with .cjs extension, useful for old nodejs versions
  • module (esm import): transpiled as esnext, with .mjs extension (requires node resolution for external packages)

In a node environment the library works immediately (no extra tooling required), however, in a browser environment, you'll need to resolve external imports thought a bundler like snowpack, rollup, webpack, etc... or directly using skypack: https://cdn.skypack.dev/@lifaon/rx-i18n