{"name":"i18next","version":"24.1.1","keywords":["i18next","internationalization","i18n","translation","localization","l10n","globalization","gettext"],"author":{"url":"https://github.com/jamuhl","name":"Jan Mühlemann","email":"jan.muehlemann@gmail.com"},"license":"MIT","_id":"i18next@24.1.1","homepage":"https://www.i18next.com","bugs":{"url":"https://github.com/i18next/i18next/issues"},"dist":{"shasum":"fbef8422f9483f5289034669092a24d3f905791f","tarball":"http://registry-npm.ywwl.com/i18next/download/i18next-24.1.1.tgz","fileCount":18,"integrity":"sha512-k1u/zjzhm35pjSVbT/e7RfMl5XM+8gZv5mmpsDIto+Atb8bqXvQILemBdim2aRuS+D1ocnlv79OF1bqG8JVUNQ==","signatures":[{"sig":"MEYCIQD8GzVRqxzGVNJho3Jsldin/bdqXFk3BmhrRE3W/9QHSAIhAMkWz6UmxjyAunX7FToDPCAeV1PoCv+egmvsPfkLMvGG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":568283,"size":127701,"noattachment":false,"key":"/i18next/-/i18next-24.1.1.tgz"},"main":"./dist/cjs/i18next.js","types":"./index.d.ts","module":"./dist/esm/i18next.js","exports":{".":{"import":{"types":"./index.d.mts","default":"./dist/esm/i18next.js"},"require":{"types":"./index.d.ts","default":"./dist/cjs/i18next.js"}},"./package.json":"./package.json"},"funding":[{"url":"https://locize.com","type":"individual"},{"url":"https://locize.com/i18next.html","type":"individual"},{"url":"https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project","type":"individual"}],"gitHead":"472a890a9de8d98937f87a36135cc530b2c31911","scripts":{"lint":"eslint src typescript test \"./*.{ts,mts,mjs}\"","test":"vitest --run","build":"rimraf dist && rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json && cpy \"./dist/umd/*.js\" ./","format":"prettier \"{,**/}*.{ts,tsx,mts,js,mjs,json,md}\" --check","prepare":"husky install","release":"gh-release","format:fix":"prettier \"{,**/}*.{ts,tsx,mts,js,mjs,json,md}\" --write","preversion":"npm run test && npm run build && git push","test:local":"vitest --workspace vitest.workspace.local.mts","postversion":"npm run fix_dist_package && git push && git push --tags && npm run release","test:runtime":"vitest --project runtime","test:coverage":"vitest --coverage --run","test:typescript":"vitest --workspace vitest.workspace.typescript.mts","fix_dist_package":"node -e 'console.log(`{\"type\":\"module\",\"version\":\"${process.env.npm_package_version}\"}`)' > dist/esm/package.json","test:compatibility":"vitest --project compatibility"},"_npmUser":{"name":"adrai","email":"adriano@raiano.ch"},"repository":{"url":"git+https://github.com/i18next/i18next.git","type":"git"},"_npmVersion":"10.9.0","description":"i18next internationalization framework","directories":{},"lint-staged":{"*.{ts,tsx,mts,js,mjs,json,md}":"prettier --write"},"_nodeVersion":"23.3.0","dependencies":{"@babel/runtime":"^7.23.2"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^8.0.3","sinon":"17.0.1","eslint":"8.57.0","rimraf":"5.0.5","rollup":"^4.27.3","vitest":"2.1.5","cpy-cli":"^5.0.0","babelify":"^10.0.0","prettier":"^3.0.3","coveralls":"3.1.1","gh-release":"7.0.2","typescript":"5.6.3","@babel/core":"^7.23.3","@types/node":"20.14.10","lint-staged":"^15.2.10","@babel/polyfill":"^7.2.5","@babel/register":"^7.22.15","@babel/preset-env":"^7.23.3","i18next-fs-backend":"2.2.0","@babel/preset-react":"^7.23.3","@vitest/coverage-v8":"2.1.5","@rollup/plugin-babel":"^6.0.4","eslint-plugin-import":"2.29.0","i18next-http-backend":"2.3.1","@rollup/plugin-terser":"0.4.4","eslint-config-prettier":"^9.0.0","@rollup/plugin-commonjs":"^25.0.7","@typescript-eslint/parser":"7.8.0","eslint-config-airbnb-base":"^15.0.0","i18next-localstorage-cache":"1.1.1","@rollup/plugin-node-resolve":"^15.2.3","i18next-sprintf-postprocessor":"0.2.2","@babel/plugin-transform-runtime":"^7.23.3","@typescript-eslint/eslint-plugin":"7.8.0","i18next-browser-languagedetector":"7.1.0","eslint-import-resolver-typescript":"^3.6.1","@babel/plugin-transform-modules-commonjs":"^7.23.3","@babel/plugin-proposal-async-generator-functions":"^7.20.7"},"peerDependencies":{"typescript":"^5"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/i18next_24.1.1_1734414214664_0.771085323669439","host":"s3://npm-registry-packages-npm-production"},"readme":"# i18next: learn once - translate everywhere [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Awesome%20i18next:%20learn%20once%20-%20translate%20everywhere%20-%20the%20internationalization%20ecosystem%20&url=https://github.com/i18next/i18next&via=jamuhl&hashtags=i18n,javascript,dev)\n\n[![CI](https://github.com/i18next/i18next/actions/workflows/CI.yml/badge.svg)](https://github.com/i18next/i18next/actions/workflows/CI.yml)\n[![Code Climate](https://codeclimate.com/github/codeclimate/codeclimate/badges/gpa.svg)](https://codeclimate.com/github/i18next/i18next)\n[![Coveralls](https://img.shields.io/coveralls/i18next/i18next/master.svg?style=flat-square)](https://coveralls.io/github/i18next/i18next)\n[![Package Quality](https://packagequality.com/shield/i18next.svg)](https://packagequality.com/#?package=i18next)\n[![cdnjs version](https://img.shields.io/cdnjs/v/i18next.svg?style=flat-square)](https://cdnjs.com/libraries/i18next)\n[![npm version](https://img.shields.io/npm/v/i18next.svg?style=flat-square)](https://www.npmjs.com/package/i18next)\n![npm](https://img.shields.io/npm/dw/i18next)\n[![Gurubase](https://img.shields.io/badge/Gurubase-Ask%20i18next%20Guru-006BFF)](https://gurubase.io/g/i18next)\n\ni18next is a very popular internationalization framework for browser or any other javascript environment (eg. Node.js, Deno).\n\n![ecosystem](https://raw.githubusercontent.com/i18next/i18next/master/assets/i18next-ecosystem.jpg)\n\ni18next provides:\n\n- Flexible connection to [backend](https://www.i18next.com/overview/plugins-and-utils#backends) (loading translations via xhr, ...)\n- Optional [caching](https://www.i18next.com/how-to/caching), user [language detection](https://www.i18next.com/overview/plugins-and-utils#language-detector), ...\n- Proper [pluralizations](https://www.i18next.com/translation-function/plurals)\n- Translation [context](https://www.i18next.com/translation-function/context)\n- [Nesting](https://www.i18next.com/translation-function/nesting), [Variable replacement](https://www.i18next.com/translation-function/interpolation)\n- Flexibility: [Use it everywhere](https://www.i18next.com/overview/supported-frameworks)\n- Extensibility: eg. [sprintf](https://www.i18next.com/overview/plugins-and-utils#post-processors)\n- ...\n\nFor more information visit the website:\n\n- [Getting started](https://www.i18next.com/overview/getting-started)\n- [Translation Functionality](https://www.i18next.com/translation-function/essentials)\n- [API](https://www.i18next.com/overview/api)\n\nOur focus is providing the core to building a booming ecosystem. Independent of the building blocks you choose, be it react, angular or even good old jquery proper translation capabilities are just [one step away](https://www.i18next.com/overview/supported-frameworks).\n\n### Documentation\n\nThe general i18next documentation is published on [www.i18next.com](https://www.i18next.com) and PR changes can be supplied [here](https://github.com/i18next/i18next-gitbook).\n\nThe react specific documentation is published on [react.i18next.com](https://react.i18next.com) and PR changes can be supplied [here](https://github.com/i18next/react-i18next-gitbook).\n\n---\n\n<h3 align=\"center\">Gold Sponsors</h3>\n\n<p align=\"center\">\n  <a href=\"https://locize.com/\" target=\"_blank\">\n    <img src=\"https://raw.githubusercontent.com/i18next/i18next/master/assets/locize_sponsor_240.gif\" width=\"240px\">\n  </a>\n</p>\n\n---\n\n**From the creators of i18next: localization as a service - locize.com**\n\nA translation management system built around the i18next ecosystem - [locize.com](https://locize.com).\n\n![locize](https://cdn.prod.website-files.com/67a323e323a50df7f24f0a6f/67b8bbb29365c3a3c21c0898_github_locize.png)\n\nWith using [locize](https://locize.com/?utm_source=i18next_readme&utm_medium=github) you directly support the future of i18next.\n\n---\n","publish_time":1734414214850,"maintainers":[{"name":"adrai","email":"adriano@raiano.ch"},{"name":"jamuhl","email":"jan.muehlemann@gmail.com"}],"_cnpm_publish_time":1734414214850,"dist-tags":{"latest":"26.7.2"}}