├── .eslintrc ├── .github └── workflows │ ├── ci.yaml │ └── release-please.yml ├── .gitignore ├── .nycrc ├── CHANGELOG.md ├── LICENSE ├── README.md ├── deno.ts ├── index.mjs ├── lib ├── cjs.ts ├── index.ts └── platform-shims │ ├── deno.ts │ └── node.ts ├── package.json ├── renovate.json ├── rollup.config.js ├── test ├── deno │ └── y18n-test.ts ├── esm │ └── y18n-test.mjs ├── locales │ ├── bad-locale.json │ ├── en.json │ └── pirate.json └── y18n-test.cjs ├── tsconfig.json └── tsconfig.test.json /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/release-please.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/.github/workflows/release-please.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/.gitignore -------------------------------------------------------------------------------- /.nycrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/.nycrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/README.md -------------------------------------------------------------------------------- /deno.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/deno.ts -------------------------------------------------------------------------------- /index.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/index.mjs -------------------------------------------------------------------------------- /lib/cjs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/lib/cjs.ts -------------------------------------------------------------------------------- /lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/lib/index.ts -------------------------------------------------------------------------------- /lib/platform-shims/deno.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/lib/platform-shims/deno.ts -------------------------------------------------------------------------------- /lib/platform-shims/node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/lib/platform-shims/node.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/package.json -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/renovate.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/rollup.config.js -------------------------------------------------------------------------------- /test/deno/y18n-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/test/deno/y18n-test.ts -------------------------------------------------------------------------------- /test/esm/y18n-test.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/test/esm/y18n-test.mjs -------------------------------------------------------------------------------- /test/locales/bad-locale.json: -------------------------------------------------------------------------------- 1 | {"hello": "worl} 2 | -------------------------------------------------------------------------------- /test/locales/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/test/locales/en.json -------------------------------------------------------------------------------- /test/locales/pirate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/test/locales/pirate.json -------------------------------------------------------------------------------- /test/y18n-test.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/test/y18n-test.cjs -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yargs/y18n/HEAD/tsconfig.test.json --------------------------------------------------------------------------------