{"_id":"loc-i18next","_rev":"10-75f0cdd01c8362ee60f171d4b1ae2088","name":"loc-i18next","description":"Smart selectors to be used with i18next","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.0":{"name":"loc-i18next","version":"0.1.0","description":"Smart selector for use with i18next","main":"dist/commonjs/index.js","directories":{"example":"example"},"dependencies":{},"devDependencies":{"babel-cli":"6.11.4","babel-core":"6.13.2","babel-eslint":"^6.1.2","babel-preset-es2015":"^6.13.2","babel-preset-es2015-rollup":"^1.2.0","babel-preset-stage-0":"^6.5.0","eslint":"^3.3.1","eslint-config-airbnb":"10.0.1","i18next":"^3.4.3","karma-chrome-launcher":"^2.0.0","karma-requirejs":"^1.1.0","mkdirp":"0.5.1","rimraf":"^2.5.4","rollup":"0.34.10","rollup-plugin-babel":"^2.6.1","rollup-plugin-node-resolve":"^2.0.0","rollup-plugin-uglify":"^1.0.1","yargs":"^5.0.0"},"scripts":{"clean":"rimraf dist && mkdirp dist","copy":"cp ./dist/umd/loc-i18next.min.js ./loc-i18next.min.js && cp ./dist/umd/loc-i18next.js ./loc-i18next.js","build:es":"BABEL_ENV=jsnext babel src --out-dir dist/es","build:cjs":"babel src --out-dir dist/commonjs","build:umd":"rollup -c rollup.config.js --format umd && rollup -c rollup.config.js --format umd --uglify","build:amd":"rollup -c rollup.config.js --format amd && rollup -c rollup.config.js --format umd --uglify","build:iife":"rollup -c rollup.config.js --format iife && rollup -c rollup.config.js --format iife --uglify","build":"npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run copy"},"repository":{"type":"git","url":"git+https://github.com/mthh/loc-i18next.git"},"author":{"name":"mthh"},"license":"MIT","bugs":{"url":"https://github.com/mthh/loc-i18next/issues"},"homepage":"https://github.com/mthh/loc-i18next","gitHead":"0f4ee74f9d524eb72e114b275c8202903502c601","_id":"loc-i18next@0.1.0","_shasum":"b679c10acc623f6c064cb3d581fcad356541e0d2","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.6","_npmUser":{"name":"mthh","email":"matthieu.viry@ums-riate.fr"},"dist":{"shasum":"b679c10acc623f6c064cb3d581fcad356541e0d2","tarball":"https://registry.npmjs.org/loc-i18next/-/loc-i18next-0.1.0.tgz","integrity":"sha512-/iFbmPe9LhqO7saRkE5E9vyC+JOv7lR7fEP2v45vvaRH5haHvyy2qyuWneeoiKPpC6H55Wi+6yFPeFdw4wdA1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBE506/LySRE8KnKrsMznaqGZOnRYMmQBwLllHARaLOjAiAw8Di9TQfnD6ujOU3IyHpIEGdfKrVquXtTz9nUOHyCUg=="}]},"maintainers":[{"name":"mthh","email":"matthieu.viry@ums-riate.fr"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/loc-i18next-0.1.0.tgz_1476957361323_0.5522400238551199"}},"0.1.1":{"name":"loc-i18next","version":"0.1.1","description":"Smart selector for use with i18next","main":"dist/commonjs/index.js","directories":{"example":"example"},"dependencies":{},"devDependencies":{"babel-cli":"6.11.4","babel-core":"6.13.2","babel-eslint":"^6.1.2","babel-preset-es2015":"^6.13.2","babel-preset-es2015-rollup":"^3.0.0","babel-preset-stage-0":"^6.5.0","eslint":"^3.3.1","eslint-config-airbnb":"10.0.1","i18next":"^3.4.3","karma-chrome-launcher":"^2.0.0","karma-requirejs":"^1.1.0","mkdirp":"0.5.1","rimraf":"^2.5.4","rollup":"0.34.10","rollup-plugin-babel":"^2.6.1","rollup-plugin-node-resolve":"^2.0.0","rollup-plugin-uglify":"^1.0.1","yargs":"^5.0.0"},"scripts":{"clean":"rimraf dist && mkdirp dist","copy":"cp ./dist/umd/loc-i18next.min.js ./loc-i18next.min.js && cp ./dist/umd/loc-i18next.js ./loc-i18next.js","build:es":"BABEL_ENV=jsnext babel src --out-dir dist/es","build:cjs":"babel src --out-dir dist/commonjs","build:umd":"rollup -c rollup.config.js --format umd && rollup -c rollup.config.js --format umd --uglify","build:amd":"rollup -c rollup.config.js --format amd && rollup -c rollup.config.js --format umd --uglify","build:iife":"rollup -c rollup.config.js --format iife && rollup -c rollup.config.js --format iife --uglify","build":"npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run copy"},"repository":{"type":"git","url":"git+https://github.com/mthh/loc-i18next.git"},"author":{"name":"mthh"},"contributors":[{"name":"NOtherDev"}],"license":"MIT","bugs":{"url":"https://github.com/mthh/loc-i18next/issues"},"homepage":"https://github.com/mthh/loc-i18next","gitHead":"61b761e477826e5b4dc54a833c45cb774fd08a71","_id":"loc-i18next@0.1.1","_shasum":"3cbe4d02245fb4899ea1ce799877a85d46f5c6f0","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.0","_npmUser":{"name":"mthh","email":"matthieu.viry@ums-riate.fr"},"dist":{"shasum":"3cbe4d02245fb4899ea1ce799877a85d46f5c6f0","tarball":"https://registry.npmjs.org/loc-i18next/-/loc-i18next-0.1.1.tgz","integrity":"sha512-5h6NFYefM+dsqm2D//okvBeg01n/mcYvXP+OOH/h0M851bvKVPS6sKG5U8ovtMAizJVXqufjwSvKULcDHfJ6lg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ3BrdZF2USJNYdBDCJZ5QprdO7XAPPTvHUDZi41r7WAIhAMAKKWgfWnTFcqstlpO42T5wykgSq1hmlJxMniKER/H1"}]},"maintainers":[{"name":"mthh","email":"matthieu.viry@ums-riate.fr"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/loc-i18next-0.1.1.tgz_1483557109731_0.24570613214746118"}},"0.1.2":{"name":"loc-i18next","version":"0.1.2","description":"Smart selector for use with i18next","main":"index.js","directories":{"example":"example"},"dependencies":{},"devDependencies":{"babel-cli":"6.11.4","babel-core":"6.13.2","babel-eslint":"^6.1.2","babel-preset-es2015":"^6.13.2","babel-preset-es2015-rollup":"^3.0.0","babel-preset-stage-0":"^6.5.0","eslint":"^3.3.1","eslint-config-airbnb":"10.0.1","i18next":"^3.4.3","karma-chrome-launcher":"^2.0.0","karma-requirejs":"^1.1.0","mkdirp":"0.5.1","rimraf":"^2.5.4","rollup":"0.34.10","rollup-plugin-babel":"^2.6.1","rollup-plugin-node-resolve":"^2.0.0","rollup-plugin-uglify":"^1.0.1","yargs":"^5.0.0"},"scripts":{"clean":"rimraf dist && mkdirp dist","copy":"cp ./dist/umd/loc-i18next.min.js ./loc-i18next.min.js && cp ./dist/umd/loc-i18next.js ./loc-i18next.js","build:es":"BABEL_ENV=jsnext babel src --out-dir dist/es","build:cjs":"babel src --out-dir dist/commonjs","build:umd":"rollup -c rollup.config.js --format umd && rollup -c rollup.config.js --format umd --uglify","build:amd":"rollup -c rollup.config.js --format amd && rollup -c rollup.config.js --format umd --uglify","build:iife":"rollup -c rollup.config.js --format iife && rollup -c rollup.config.js --format iife --uglify","build":"npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run copy","preversion":"npm run build && git push"},"repository":{"type":"git","url":"git+https://github.com/mthh/loc-i18next.git"},"author":{"name":"mthh"},"contributors":[{"name":"NOtherDev"}],"license":"MIT","bugs":{"url":"https://github.com/mthh/loc-i18next/issues"},"homepage":"https://github.com/mthh/loc-i18next","gitHead":"37f34b433a0b08cca85445c9e0d07914ad7a4dd4","_id":"loc-i18next@0.1.2","_shasum":"6c5aa789b4df8c774524ebf2141dadbbece15a3d","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.0","_npmUser":{"name":"mthh","email":"matthieu.viry@cnrs.fr"},"dist":{"shasum":"6c5aa789b4df8c774524ebf2141dadbbece15a3d","tarball":"https://registry.npmjs.org/loc-i18next/-/loc-i18next-0.1.2.tgz","integrity":"sha512-/2MemfZDK7/rgmyNtR6up6BJAyDlumQ2k/Yfalr61UzjqhjGSUiXu1khNIsDZ4FuiLCIEQQSxQ2k71Aey0qIrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF4QbDAA2WGcqtpagpYdVm46JQETarqmzlcLa/z4atDBAiEAu25wcyw4pK6GDONkbHdp/or9iy+EMsW6AxtEGTNS2nI="}]},"maintainers":[{"name":"mthh","email":"matthieu.viry@ums-riate.fr"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/loc-i18next-0.1.2.tgz_1488484016190_0.9443777222186327"}},"0.1.3":{"name":"loc-i18next","version":"0.1.3","description":"Smart selector for use with i18next","main":"index.js","directories":{"example":"example"},"dependencies":{},"devDependencies":{"babel-cli":"6.11.4","babel-core":"6.13.2","babel-eslint":"^6.1.2","babel-preset-es2015":"^6.13.2","babel-preset-es2015-rollup":"^3.0.0","babel-preset-stage-0":"^6.5.0","eslint":"^3.3.1","eslint-config-airbnb":"10.0.1","i18next":"^3.4.3","karma-chrome-launcher":"^2.0.0","karma-requirejs":"^1.1.0","mkdirp":"0.5.1","rimraf":"^2.5.4","rollup":"0.34.10","rollup-plugin-babel":"^2.6.1","rollup-plugin-node-resolve":"^2.0.0","rollup-plugin-uglify":"^1.0.1","yargs":"^5.0.0"},"scripts":{"clean":"rimraf dist && mkdirp dist","copy":"cp ./dist/umd/loc-i18next.min.js ./loc-i18next.min.js && cp ./dist/umd/loc-i18next.js ./loc-i18next.js","build:es":"BABEL_ENV=jsnext babel src --out-dir dist/es","build:cjs":"babel src --out-dir dist/commonjs","build:umd":"rollup -c rollup.config.js --format umd && rollup -c rollup.config.js --format umd --uglify","build:amd":"rollup -c rollup.config.js --format amd && rollup -c rollup.config.js --format umd --uglify","build:iife":"rollup -c rollup.config.js --format iife && rollup -c rollup.config.js --format iife --uglify","build":"npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run copy","preversion":"npm run build && git push"},"repository":{"type":"git","url":"git+https://github.com/mthh/loc-i18next.git"},"author":{"name":"mthh"},"contributors":[{"name":"NOtherDev"}],"license":"MIT","bugs":{"url":"https://github.com/mthh/loc-i18next/issues"},"homepage":"https://github.com/mthh/loc-i18next","gitHead":"055d20d8a28df9e5238abd460c37345baba99533","_id":"loc-i18next@0.1.3","_shasum":"cee8e9ae40500f03958c7752767cab2e39862714","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.2","_npmUser":{"name":"mthh","email":"matthieu.viry@cnrs.fr"},"dist":{"shasum":"cee8e9ae40500f03958c7752767cab2e39862714","tarball":"https://registry.npmjs.org/loc-i18next/-/loc-i18next-0.1.3.tgz","integrity":"sha512-HJXVsVdCrC+fdgO/fQ4NYJtX9Z6mbc5W59iZY8GpajU7DtTgrskiStEW0qainEL5rUFHDx/r3zLUbgPapLG4cg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmFRIJEnX2K6yt+xhyu6OJCHvYrm91phINYEslmyPg6QIgOq7sDfpWAwp7jHhh8T3gItL3008PDpyto3AAG9sfoeM="}]},"maintainers":[{"name":"mthh","email":"matthieu.viry@ums-riate.fr"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/loc-i18next-0.1.3.tgz_1493834597568_0.05491348449140787"}},"0.1.4":{"name":"loc-i18next","version":"0.1.4","description":"Smart selectors to be used with i18next","main":"index.js","directories":{"example":"example"},"dependencies":{},"devDependencies":{"babel-cli":"6.11.4","babel-core":"6.13.2","babel-eslint":"^6.1.2","babel-preset-es2015":"^6.13.2","babel-preset-es2015-rollup":"^3.0.0","babel-preset-stage-0":"^6.5.0","eslint":"^3.3.1","eslint-config-airbnb":"10.0.1","i18next":"^3.4.3","karma-chrome-launcher":"^2.0.0","karma-requirejs":"^1.1.0","mkdirp":"0.5.1","rimraf":"^2.5.4","rollup":"0.34.10","rollup-plugin-babel":"^2.6.1","rollup-plugin-node-resolve":"^2.0.0","rollup-plugin-uglify":"^1.0.1","yargs":"^5.0.0"},"scripts":{"clean":"rimraf dist && mkdirp dist","copy":"cp ./dist/umd/loc-i18next.min.js ./loc-i18next.min.js && cp ./dist/umd/loc-i18next.js ./loc-i18next.js","build:es":"BABEL_ENV=jsnext babel src --out-dir dist/es","build:cjs":"babel src --out-dir dist/commonjs","build:umd":"rollup -c rollup.config.js --format umd && rollup -c rollup.config.js --format umd --uglify","build:amd":"rollup -c rollup.config.js --format amd && rollup -c rollup.config.js --format umd --uglify","build:iife":"rollup -c rollup.config.js --format iife && rollup -c rollup.config.js --format iife --uglify","build":"npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run copy","preversion":"npm run build && git push"},"repository":{"type":"git","url":"git+https://github.com/mthh/loc-i18next.git"},"author":{"name":"mthh"},"contributors":[{"name":"NOtherDev"}],"license":"MIT","bugs":{"url":"https://github.com/mthh/loc-i18next/issues"},"homepage":"https://github.com/mthh/loc-i18next","keywords":["i18next","i18next-plugin","internationalization","i18n","translation","localization","l10n"],"gitHead":"58bcb36ae9296cce9ac2b87cf611416959cdf216","_id":"loc-i18next@0.1.4","_npmVersion":"6.1.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mthh","email":"matthieu.viry@cnrs.fr"},"dist":{"integrity":"sha512-lw/232jHRVXPGhxycmeGD/87t9Cj87XpKBM0N8k3QloRwId5pZ2fVU2gKMWqHwWZr2tZ6jofBRTeuLth37io+g==","shasum":"dd431e65613eddf9e2f08aa7a70db7e457d09f33","tarball":"https://registry.npmjs.org/loc-i18next/-/loc-i18next-0.1.4.tgz","fileCount":14,"unpackedSize":39013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbxz1CRA9TVsSAnZWagAATFgP+wdrcMFbzY2cODU/6ZII\na9NV82kIPcNcGMaqjLPuGV+CgEvH0dWI10yex4YKrPp4C/06kRzL5WL3D/fG\nlegNM6Wz8zDUcVQme3cfBGl6PWpU4lR9fiz7GeMJBS0REAkGxhgfbueNeNxg\nkJudT7YZ8Fvnj7KY+Ifg/Y2CS2ILa8K+DLaHUPXVYXBtVRG5YpYtPSxdt6lr\nRV4qTEJs6PlhQ+RR4x0iamRGrATlI6tIU9WEmAas7wYZUaM7kFulH/cBpwTi\nBwLeA9fjkaBqDkv3CfQrnz5SNzaV6zQm1cSNqe4ENWeUSgsDT/GWd4CpJioq\nFXVo4Qme91Sb7XMQmJnCXVENnQ9SnEVSFJIK35fSJMhsZoi3+hsn0FhgmWDn\nY+92IpgjMtk0rmrQhbK3vJggq6oupochd1WlNNoVPS2BZiFH+bK6gRH0S212\nEFHrKSkhMqjWp1b1b9kkjW/6aisCc7DWUTCCw1gcN76WhHxWWJi4I47Sb949\nDZM3fR2TC8eSkt3bAKK/wiF1byYhXZleifZh5Nf5SpCxTKA6A3eKOAKAXYz/\nW9c86CBBoFp1VgzR5s7CN7j93IA5+GxHVxaPG7sLXXm8sUSc5HoHU+3VJSWu\nITE0A30z2kQSoKjkX0Uob83GKLgPQdya7TsOGZ1JSZap3SmMKK6aZaYreO1L\nV6xY\r\n=taz2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4i9Cedgf/855DtyT/xeyEpO1NMPt1DwbKeHViw7GMNAIhAJvSWpR+E2dtL+cMfLAhk8hBA+Kvs7i17fKTBPtw9ZoW"}]},"maintainers":[{"name":"mthh","email":"matthieu.viry@ums-riate.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loc-i18next_0.1.4_1534008564823_0.506346961157242"},"_hasShrinkwrap":false},"0.1.5":{"name":"loc-i18next","version":"0.1.5","description":"Smart selectors to be used with i18next","main":"index.js","directories":{"example":"example"},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.21.0","@babel/preset-env":"^7.0.0","babel-eslint":"^10.0.1","eslint":"^4.12.1","eslint-config-airbnb":"10.0.1","i18next":"^3.4.3","karma-chrome-launcher":"^2.0.0","karma-requirejs":"^1.1.0","mkdirp":"0.5.1","rimraf":"^2.5.4","rollup":"0.34.10","rollup-plugin-babel":"^4.3.2","rollup-plugin-node-resolve":"^2.0.0","rollup-plugin-uglify":"^1.0.1","yargs":"^5.0.0"},"scripts":{"clean":"rimraf dist && mkdirp dist","copy":"cp ./dist/umd/loc-i18next.min.js ./loc-i18next.min.js && cp ./dist/umd/loc-i18next.js ./loc-i18next.js","build:es":"BABEL_ENV=jsnext babel src --out-dir dist/es","build:cjs":"babel src --out-dir dist/commonjs","build:umd":"rollup -c rollup.config.js --format umd && rollup -c rollup.config.js --format umd --uglify","build:amd":"rollup -c rollup.config.js --format amd && rollup -c rollup.config.js --format umd --uglify","build:iife":"rollup -c rollup.config.js --format iife && rollup -c rollup.config.js --format iife --uglify","build":"npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run copy","preversion":"npm run build && git push"},"repository":{"type":"git","url":"git+https://github.com/mthh/loc-i18next.git"},"author":{"name":"mthh"},"contributors":[{"name":"NOtherDev"},{"name":"thjungers"}],"license":"MIT","bugs":{"url":"https://github.com/mthh/loc-i18next/issues"},"homepage":"https://github.com/mthh/loc-i18next","keywords":["i18next","i18next-plugin","internationalization","i18n","translation","localization","l10n"],"gitHead":"c455428c2f9f5eefec364f9ceb9e8bbb576891a2","_id":"loc-i18next@0.1.5","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-OYR+YzkjXzs2Mldyp63lDoh6wTa3qJO3tiT6b/ii9qD/nAY4McESU6YK9RKz6gBVT0VUTYYsRALqbJSVxI8Blw==","shasum":"e2a8ee88043899fd52a0ab8011eb62e9440151b7","tarball":"https://registry.npmjs.org/loc-i18next/-/loc-i18next-0.1.5.tgz","fileCount":14,"unpackedSize":41298,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFrKRTLpL0G/cUS2wrviuq5B+/ITznixWKXCivCUNIaAAiAwXdqhu4B1FJyTJZxO9uI0N8fj9vC0Hz7Rp1DckRj5lQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIzXSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsmA//f506dg9kkdUOhbLgaujejC1+T8V9jelMGBZgCeCFSLD8nX9y\r\n/OGLHRoVstNZuDSU2F2RV54CoqJTo199R4WkQxrm4MR1XJvBgVN3MnidU04e\r\ngvmAwZ+eeSG1rbSP9hdJyhU8ylbdRJxzS3UBjmIHi0WP36Q47TPGZqY92pJj\r\nOOR2tV6yY4ue+8/bDTmCdqhpbPIyFliJDyd7JaHpCiEMOTiaah4kodsefwyp\r\nk5njBCOUtgUviYHpvl0UeC4Qv8tK0hRmRoDe6H7fFC+dC3opFyncA0rd8+Z2\r\nm505tJsr69NcvlmlpbEurWLFXhD9L0tMVjcsvfj0VrSFei7HZcEopKitUg+A\r\nHOgkguNeNPbeP6T3/7sal7m+npPF1FBDW1Bx4jp4gXdGzUdQgJUAgSaJNkOe\r\nwlUZ3ryHbyqzYxSp1X6YYEHVINud39rEyRLrU8N90bLeTuxZ6QHzho+IYBwv\r\nbFrpkPBT7dNSmCH40ael+H3T++LeA/7zD2NFnzLcwj2qnCT3OSnpWrK6OwPM\r\nt2ruaXK/PZpHcKTBgtAgC+gdNIPFIK+VJoRbbc1ihgB0ry7aRm7FxiQBz5V4\r\nuW0GeG1K7LZ88kWT4PzjZppeM3hdxOoijz0jtO7iH5sEqGQEu/9wHN9ZCXAR\r\ng0jIajBVJy04EYX4zI2bihOrJnBUu5A7cHY=\r\n=L+Eg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mthh","email":"matthieu.viry@cnrs.fr"},"maintainers":[{"name":"mthh","email":"matthieu.viry@cnrs.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loc-i18next_0.1.5_1680029137955_0.09815620370184241"},"_hasShrinkwrap":false},"0.1.6":{"name":"loc-i18next","version":"0.1.6","description":"Smart selectors to be used with i18next","main":"index.js","directories":{"example":"example"},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.21.0","@babel/preset-env":"^7.0.0","babel-eslint":"^10.0.1","eslint":"^4.12.1","eslint-config-airbnb":"10.0.1","i18next":"^3.4.3","karma-chrome-launcher":"^2.0.0","karma-requirejs":"^1.1.0","mkdirp":"0.5.1","rimraf":"^2.5.4","rollup":"0.34.10","rollup-plugin-babel":"^4.3.2","rollup-plugin-node-resolve":"^2.0.0","rollup-plugin-uglify":"^1.0.1","yargs":"^5.0.0"},"scripts":{"clean":"rimraf dist && mkdirp dist","copy":"cp ./dist/umd/loc-i18next.min.js ./loc-i18next.min.js && cp ./dist/umd/loc-i18next.js ./loc-i18next.js","build:es":"BABEL_ENV=jsnext babel src --out-dir dist/es","build:cjs":"babel src --out-dir dist/commonjs","build:umd":"rollup -c rollup.config.js --format umd && rollup -c rollup.config.js --format umd --uglify","build:amd":"rollup -c rollup.config.js --format amd && rollup -c rollup.config.js --format umd --uglify","build:iife":"rollup -c rollup.config.js --format iife && rollup -c rollup.config.js --format iife --uglify","build":"npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run copy","preversion":"npm run build && git push"},"repository":{"type":"git","url":"git+https://github.com/mthh/loc-i18next.git"},"author":{"name":"mthh"},"contributors":[{"name":"NOtherDev"},{"name":"thjungers"}],"license":"MIT","bugs":{"url":"https://github.com/mthh/loc-i18next/issues"},"homepage":"https://github.com/mthh/loc-i18next","keywords":["i18next","i18next-plugin","internationalization","i18n","translation","localization","l10n"],"gitHead":"25d46ef8d86a42a110ebd0a879b2d9587784ab8c","_id":"loc-i18next@0.1.6","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-JKwc6JOsmKxBZTKNA666x+7qiJpdR+XtHpKJhY7s5bR/Q/NJNDpLae/Dgx4EFC/j6YbelR3t0qEw2ZFhCdG/Cw==","shasum":"fd4767681a11c2e9508a3e18341199c4b0a5eba9","tarball":"https://registry.npmjs.org/loc-i18next/-/loc-i18next-0.1.6.tgz","fileCount":14,"unpackedSize":42130,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaigQeuzAI5K6dsJe6goSUywX3sL1ndv0KD4vWEryPdAiAzJ6FoGl/YT9FfDmQ6e5jB3r+jYsZyCyFAfFXP/YtSSw=="}]},"_npmUser":{"name":"mthh","email":"matthieu.viry@cnrs.fr"},"maintainers":[{"name":"mthh","email":"matthieu.viry@cnrs.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loc-i18next_0.1.6_1702844929643_0.45369810558392687"},"_hasShrinkwrap":false}},"readme":"# loc-i18next\n## Introduction\n\nA replicate of [jquery-i18next](https://github.com/i18next/jquery-i18next) module (which is great by the way!), intended for use without jquery.\n\n## Comparaison with `jquery-i18next`\njquery-i18next plugin :\n\n```js\njqueryI18next.init(i18nextInstance, $);\n$(\".nav\").localize();\n```\n\nloc-i18next :\n\n```js\nlocalize = locI18next.init(i18next);\nlocalize(\".nav\");\n```\n## Initialize the plugin\n\n*With options :*\n```js\nimport i18next from 'i18next';\nimport locI18next from \"loc-i18next\";\n\nconst localize = locI18next.init(i18next, {\n  selectorAttr: 'data-i18n', // selector for translating elements\n  targetAttr: 'i18n-target',\n  optionsAttr: 'i18n-options',\n  useOptionsAttr: false,\n  parseDefaultValueFromContent: true\n  document: window.document,\n});\n```\n*Using default values :*\n```js\nimport i18next from 'i18next';\nimport locI18next from \"loc-i18next\";\n\nconst localize = locI18next.init(i18next);\n```\n\n## Using options in translation function\n\n```js\n<a id=\"btn1\" href=\"#\" data-i18n=\"myKey\"></a>\nlocalize(\"#btn1\", options);\n```\n\nor\n\n```js\n<a id=\"btn1\" href=\"#\" data-i18n=\"myKey\" i18n-options=\"{ 'a': 'b' }\"></a>\nlocalize(\"#btn1\");\n```\n\n## Usage of selector function\n\n### translate an element\n\n```js\n<a id=\"btn1\" href=\"#\" data-i18n=\"myKey\"></a>\nlocalize(\"#btn1\", options);\n```\n\nmyKey: same key as used in i18next (optionally with namespaces)\noptions: same options as supported in i18next.t\n\n### translate children of an element\n\n```js\n<ul class=\"nav\">\n  <li><a href=\"#\" data-i18n=\"nav.home\"></a></li>\n  <li><a href=\"#\" data-i18n=\"nav.page1\"></a></li>\n  <li><a href=\"#\" data-i18n=\"nav.page2\"></a></li>\n</ul>\nlocalize(\".nav\");\n```\n\n### translate some inner element\n```js\n<div class=\"outer\" data-i18n=\"ns:key\" data-i18n-target=\".inner\">\n  <input class=\"inner\" type=\"text\"></input>\n</div>\nlocalize(\".outer\");\n```\n\n### set different attribute\n```js\n<a id=\"btn1\" href=\"#\" data-i18n=\"[title]key.for.title\"></a>\nlocalize(\"#btn1\");\n```\n\n### set multiple attributes\n```js\n<a id=\"btn1\" href=\"#\" data-i18n=\"[title]key.for.title;myNamespace:key.for.text\"></a>\nlocalize(\"#btn1\");\n```\n\n### set innerHtml attributes\n```js\n<a id=\"btn1\" href=\"#\" data-i18n=\"[html]key.for.title\"></a>\nlocalize(\"#btn1\");\n```\n\n### prepend content\n```js\n<a id=\"btn1\" href=\"#\" data-i18n=\"[prepend]key.for.title\">insert before me, please!</a>\nlocalize(\"#btn1\");\n```\n\n### append content\n```js\n<a id=\"btn1\" href=\"#\" data-i18n=\"[append]key.for.title\">append after me, please!</a>\nlocalize(\"#btn1\");\n```\n\n### set as an attribute\n```js\n<a id=\"btn1\" href=\"#\" data-i18n=\"[data-someNameAttribute]key.for.content\"></a>\nlocalize(\"#btn1\");\n```\n\n### use a custom `document` object\n```js\n<template id=\"template\">\n  <a id=\"btn1\" href=\"#\" data-i18n=\"myKey\"></a>\n</template>\nconst shadowRoot = document.body.attachShadow();\nconst template = document.getElementById(\"template\");\nshadowRoot.appendChild(template.content.cloneNode(true));\nlocalize(\"#btn1\", {document: shadowRoot});\n```\n\n## Motivation\n- Having an occasion to try some packages like rollup, babel or uglify.\n- Obtaining the same kind of functionnalities than with `jquery-i18next` in a project not using jquery.\n\n\n## Project actively using `loc-i18next`\n- [Magrit](https://github.com/riatelab/magrit) : [http://magrit.cnrs.fr/](http://magrit.cnrs.fr/)\n\n\n## Blog posts about using `loc-i18next`\n- [https://code.tutsplus.com/tutorials/translating-stimulus-apps-with-i18next--cms-30770](https://code.tutsplus.com/tutorials/translating-stimulus-apps-with-i18next--cms-30770)\n- [https://phraseapp.com/blog/posts/localizing-stimulusjs-i18next/](https://phraseapp.com/blog/posts/localizing-stimulusjs-i18next/)\n","maintainers":[{"name":"mthh","email":"matthieu.viry@cnrs.fr"}],"time":{"modified":"2023-12-17T20:28:50.016Z","created":"2016-10-20T09:56:03.329Z","0.1.0":"2016-10-20T09:56:03.329Z","0.1.1":"2017-01-04T19:11:51.819Z","0.1.2":"2017-03-02T19:46:58.426Z","0.1.3":"2017-05-03T18:03:18.500Z","0.1.4":"2018-08-11T17:29:24.919Z","0.1.5":"2023-03-28T18:45:38.172Z","0.1.6":"2023-12-17T20:28:49.867Z"},"homepage":"https://github.com/mthh/loc-i18next","repository":{"type":"git","url":"git+https://github.com/mthh/loc-i18next.git"},"author":{"name":"mthh"},"bugs":{"url":"https://github.com/mthh/loc-i18next/issues"},"license":"MIT","readmeFilename":"README.md","contributors":[{"name":"NOtherDev"},{"name":"thjungers"}],"keywords":["i18next","i18next-plugin","internationalization","i18n","translation","localization","l10n"]}