{"name":"i18next","version":"23.12.7","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@23.12.7","homepage":"https://www.i18next.com","bugs":{"url":"https://github.com/i18next/i18next/issues"},"dist":{"shasum":"97903e00be73df73963e8e5725527a83acaa7516","tarball":"http://registry-npm.ywwl.com/i18next/download/i18next-23.12.7.tgz","fileCount":19,"integrity":"sha512-LW7WpZV929NiNfifCPW3JRruEngBviTgaGSviRaXGxxhloCpECNHL8T6axfxGqgGntffiuJwxCWBmTz9hHcfAg==","signatures":[{"sig":"MEUCICT5OsV9v0BYuGZG03UdvUI2Vphw0p+z6521p8vgDLanAiEA35OchA9VfWFeVmcOy2hGI14RSpwO4zIiKLjs82nznh8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":634343,"size":138006,"noattachment":false,"key":"/i18next/-/i18next-23.12.7.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":"202465a5b7115337f03490436f88737284e279e3","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","pretest":"npm run generate_ts_v4_index","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","pretest:typescript":"npm run generate_ts_v4_index","test:compatibility":"vitest --project compatibility","generate_ts_v4_index":"cp index.d.ts index.v4.d.ts && node -e \"fs.writeFileSync('index.v4.d.ts', fs.readFileSync('index.v4.d.ts').toString().replace(/t.js/g, 't.v4.js').replace(/export type \\* /g, '// export type * '))\""},"_npmUser":{"name":"adrai","email":"adriano@raiano.ch"},"repository":{"url":"git+https://github.com/i18next/i18next.git","type":"git"},"_npmVersion":"10.8.1","description":"i18next internationalization framework","directories":{},"lint-staged":{"*.{ts,tsx,mts,js,mjs,json,md}":"prettier --write"},"_nodeVersion":"20.16.0","dependencies":{"@babel/runtime":"^7.23.2"},"typesVersions":{"<5.0":{"index.d.ts":["index.v4.d.ts"],"typescript/t.d.ts":["typescript/t.v4.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"husky":"^8.0.3","sinon":"17.0.1","eslint":"8.57.0","rimraf":"5.0.5","rollup":"^4.3.0","vitest":"2.0.2","cpy-cli":"^5.0.0","babelify":"^10.0.0","prettier":"^3.0.3","coveralls":"3.1.1","gh-release":"7.0.2","typescript":"5.4.4","@babel/core":"^7.23.3","@types/node":"20.14.10","lint-staged":"^15.0.2","@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.0.2","@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"},"_npmOperationalInternal":{"tmp":"tmp/i18next_23.12.7_1723744654696_0.9891747763285996","host":"s3://npm-registry-packages"},"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://locize.com/img/ads/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":1723744654894,"maintainers":[{"name":"adrai","email":"adriano@raiano.ch"},{"name":"jamuhl","email":"jan.muehlemann@gmail.com"}],"_cnpm_publish_time":1723744654894,"dist-tags":{"latest":"26.7.2"}}