{"_rev":"4-797113497dd155c6e530c411b556265c","time":{"created":"2026-02-02T00:26:30.725Z","modified":"2026-02-02T00:26:31.308Z","0.0.1":"2026-02-02T00:02:18.309Z","0.0.2":"2026-02-02T00:26:31.046Z"},"_id":"@apiglot/i18next","name":"@apiglot/i18next","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.2":{"name":"@apiglot/i18next","version":"0.0.2","description":"Apiglot primitives for i18next integration","repository":{"type":"git","url":"git+https://github.com/apiglot/i18next.git"},"homepage":"https://github.com/apiglot/i18next#readme","bugs":{"url":"https://github.com/apiglot/i18next/issues"},"authors":["Apiglot Team"],"type":"module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup"},"keywords":[],"author":{"name":"Apiglot Team"},"license":"ISC","packageManager":"pnpm@10.18.0","dependencies":{"i18next-resources-to-backend":"^1.2.1"},"devDependencies":{"i18next":"^25.7.4","tsup":"^8.5.1","typescript":"^5.9.3"},"peerDependencies":{"i18next":"^25.7.4"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"_id":"@apiglot/i18next@0.0.2","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-jDJi9rer5BZP2HtqTwm6/C7TkeHCTorhc1bsxlE28kh4drU+XNP1CFzV07KMuwqJBRfxT+G7SUuUq6By8koPRA==","shasum":"713b038c6f6a60e0bfd704f105cfb847e54be7b5","tarball":"https://registry.npmjs.org/@apiglot/i18next/-/i18next-0.0.2.tgz","fileCount":8,"unpackedSize":9453,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBMzq9IgnMyL0PscVg/tpX1zC1NnGupkR8e788aHiLFPAiAcSZ/fCfIXjIrhh4JBrfDBvlZ2ZcucMNYOsNrIWbHUQQ=="}]},"_npmUser":{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"},"directories":{},"maintainers":[{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/i18next_0.0.2_1769991990884_0.2881051339171743"},"_hasShrinkwrap":false}},"maintainers":[{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"}],"description":"Apiglot primitives for i18next integration","homepage":"https://github.com/apiglot/i18next#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/apiglot/i18next.git"},"author":{"name":"Apiglot Team"},"bugs":{"url":"https://github.com/apiglot/i18next/issues"},"license":"ISC","readme":"# Apiglot\n\nApiglot is an AI-powered localization platform that helps you implement `i18n` (internationalization) in modern web frameworks (React, Next, Vue, Svelte, SolidJS, Astro, etc) in an easy, fast and professional way. You define your app's content in a single language (your choice), optionally providing extra context to the content, and Apiglot uses AI to translate your app's content to +30 base languages (plus regional variations). Learn more at https://www.apiglot.com.\n\nApiglot provides several solutions for integrating with existing `i18n` frameworks. A robust and feature-rich `i18n` framework for javascript-based apps is [i18next](https://www.i18next.com/).\n\nThis package just provides an ultra lightweight factory to build `i18next` backend, which you can attach to your `i18next` instance so that it loads translations files from your Apiglot's project.\n\n## Install\n\nUsing npm:\n```\nnpm install @apiglot/i18next\n```\n\nUsing yarn:\n```\nyarn add @apiglot/i18next\n```\n\nUsing pnpm:\n```\npnpm add @apiglot/i18next\n```\n\n## Quick start\n\nCommon usage pattern: create the backend with your project options and register it with i18next.\n\nESM / modern JS:\n```js\nimport i18next from 'i18next';\nimport { createI18nextBackend } from '@apiglot/i18next';\n\nconst ApiglotBackend = createI18nextBackend({\n    projectId: 'my-project-id',\n    apiKey: process.env.APIGLOT_API_KEY,\n});\n\ni18next\n    .use(ApiglotBackend)\n    .init({\n        lng: 'en',\n        fallbackLng: 'en',\n        // other i18next options\n    });\n```\n\n## Contributing\n\nContributions and bug reports are welcome. Please open issues or PRs in the repository.\n\n## License\n\nProvided under the license of the main Apiglot project. Check repository for details.","readmeFilename":"README.md"}