{"_id":"@alakotkos/fluent","_rev":"11-6a72b1c58be65e915c88482859472343","name":"@alakotkos/fluent","dist-tags":{"latest":"1.2.3"},"versions":{"1.1.0":{"name":"@alakotkos/fluent","version":"1.1.0","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"author":{"url":"https://github.com/slavafomin","name":"Slava Fomin II","email":"slava@fomin.io"},"license":"MIT","_id":"@alakotkos/fluent@1.1.0","maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"homepage":"https://github.com/the-moebius/fluent#readme","bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"dist":{"shasum":"0212ae6bd7827063207143963a1243922a382852","tarball":"https://registry.npmjs.org/@alakotkos/fluent/-/fluent-1.1.0.tgz","fileCount":17,"integrity":"sha512-y84k80W74Eq6l/MuX8qJEyeMuFsUWYYd/F74EKfo/t8p62dk5BOZUcF3jhbGqU9dCVTaBYKUhJqmhpa+Qm5tPw==","signatures":[{"sig":"MEUCIQD/Ru3KYtW5s35Ul9fSEfQFqxLPs9f369SYqCuWkUGCRQIgXwoMmIsptGw9p2+fd+ubQgZ9vY++RzZCU7YEyk0jzxU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27387},"main":"dist/index.js","types":"dist/types","engines":{"node":">=20"},"gitHead":"05099ce6d98f8d82df1b169036a18e2c3b766ee4","scripts":{"test":":","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alakotkos","email":"alakotko@gmail.com"},"repository":{"url":"git+https://github.com/alakotko/fluent.git","type":"git"},"_npmVersion":"10.8.2","description":"Better Fluent integration for JavaScript","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@fluent/bundle":"^0.17.1","@fluent/langneg":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.5.4","@types/node":"^16.11.20","npm-run-all":"^4.1.5","tsconfig-paths":"^3.12.0"},"_npmOperationalInternal":{"tmp":"tmp/fluent_1.1.0_1721796058988_0.5002277782044033","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@alakotkos/fluent","version":"1.1.1","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"author":{"url":"https://github.com/slavafomin","name":"Slava Fomin II","email":"slava@fomin.io"},"license":"MIT","_id":"@alakotkos/fluent@1.1.1","maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"homepage":"https://github.com/the-moebius/fluent#readme","bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"dist":{"shasum":"031fb77d1a10ad965eac4ca34a09a1639a1194db","tarball":"https://registry.npmjs.org/@alakotkos/fluent/-/fluent-1.1.1.tgz","fileCount":17,"integrity":"sha512-6Kbt9/NSZalT3KTwvLmN/fOwlY49vOb8HyM5NkEadgsJZndI2zwdO1y4jhy8PFNEwVzx+nWk+MZwP6bT3D1UrQ==","signatures":[{"sig":"MEUCIQCyStAFQTXF/yGn061eB1OYGy+lU7bnkx1VgJEX3310cwIgKUkUFfxwqz6nsFo2no8AXqg0oEGl+TuUWM7RaE8Lei8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27407},"main":"dist/index.js","type":"module","types":"dist/types","engines":{"node":">=20"},"gitHead":"05099ce6d98f8d82df1b169036a18e2c3b766ee4","scripts":{"test":":","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alakotkos","email":"alakotko@gmail.com"},"repository":{"url":"git+https://github.com/alakotko/fluent.git","type":"git"},"_npmVersion":"10.8.2","description":"Better Fluent integration for JavaScript","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@fluent/bundle":"^0.17.1","@fluent/langneg":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.5.4","@types/node":"^16.11.20","npm-run-all":"^4.1.5","tsconfig-paths":"^3.12.0"},"_npmOperationalInternal":{"tmp":"tmp/fluent_1.1.1_1721796732849_0.45479198497389284","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@alakotkos/fluent","version":"1.1.2","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"author":{"url":"https://github.com/slavafomin","name":"Slava Fomin II","email":"slava@fomin.io"},"license":"MIT","_id":"@alakotkos/fluent@1.1.2","maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"homepage":"https://github.com/the-moebius/fluent#readme","bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"dist":{"shasum":"c3c4ee7c200bd8f74913dd248bb8f7458fe0c548","tarball":"https://registry.npmjs.org/@alakotkos/fluent/-/fluent-1.1.2.tgz","fileCount":17,"integrity":"sha512-xCLzE2BeHQOuucOUKfzfV90GvEIfTr2YxBU0v9sx6XkwCbXCNgs/6ag1I7lrDJvUMkFMuT/zsxn53fuyfyoh5w==","signatures":[{"sig":"MEUCIQDenm1oxQ8ORfiYgYadwACjreM98nk9WHyTmkwPgc8vgwIgFLKTGmfABZHyPLIuy+070MtoTiMklaNUEdvn12pBNqo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27240},"main":"dist/index.js","type":"module","types":"dist/types","engines":{"node":">=20"},"gitHead":"05099ce6d98f8d82df1b169036a18e2c3b766ee4","scripts":{"test":":","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alakotkos","email":"alakotko@gmail.com"},"repository":{"url":"git+https://github.com/alakotko/fluent.git","type":"git"},"_npmVersion":"10.8.2","description":"Better Fluent integration for JavaScript","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@fluent/bundle":"^0.17.1","@fluent/langneg":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.5.4","@types/node":"^16.11.20","npm-run-all":"^4.1.5","tsconfig-paths":"^3.12.0"},"_npmOperationalInternal":{"tmp":"tmp/fluent_1.1.2_1721797177653_0.04923493407027846","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@alakotkos/fluent","version":"1.1.3","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"author":{"url":"https://github.com/slavafomin","name":"Slava Fomin II","email":"slava@fomin.io"},"license":"MIT","_id":"@alakotkos/fluent@1.1.3","maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"homepage":"https://github.com/the-moebius/fluent#readme","bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"dist":{"shasum":"55f9f8f8f22d1a753b339651d133c0992931230c","tarball":"https://registry.npmjs.org/@alakotkos/fluent/-/fluent-1.1.3.tgz","fileCount":17,"integrity":"sha512-FeLHE4zZidJBiP09M0vZnhS3osTmppnkBlgojOfGnHWiwOLMqRg5fmkH5w2Rm17I8miCDp1/UuP6U9ooVkxA7g==","signatures":[{"sig":"MEUCIFCcPX6vGU0ce8ESsP1fmFoZvkvODLM/sCtL3CpkGnpWAiEAmyaFtHIMmiKvQ3Zdu7PlHIIgsAQ8J+nFFs0q/fvVvpk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27240},"main":"dist/index.js","type":"module","types":"dist/types","engines":{"node":">=20"},"gitHead":"05099ce6d98f8d82df1b169036a18e2c3b766ee4","scripts":{"test":":","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alakotkos","email":"alakotko@gmail.com"},"repository":{"url":"git+https://github.com/alakotko/fluent.git","type":"git"},"_npmVersion":"10.8.2","description":"Better Fluent integration for JavaScript","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@fluent/bundle":"^0.17.1","@fluent/langneg":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.5.4","@types/node":"^16.11.20","npm-run-all":"^4.1.5","tsconfig-paths":"^3.12.0"},"_npmOperationalInternal":{"tmp":"tmp/fluent_1.1.3_1721797641568_0.15174231402935745","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@alakotkos/fluent","version":"1.1.4","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"author":{"url":"https://github.com/slavafomin","name":"Slava Fomin II","email":"slava@fomin.io"},"license":"MIT","_id":"@alakotkos/fluent@1.1.4","maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"homepage":"https://github.com/the-moebius/fluent#readme","bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"dist":{"shasum":"1dd2dbecbf2c7e17fe080da916e6ed1aca802287","tarball":"https://registry.npmjs.org/@alakotkos/fluent/-/fluent-1.1.4.tgz","fileCount":17,"integrity":"sha512-QuKF4q+DV6ZVnMFW84ELiRIr8P6ZmrWuck4+TmV3BKC2ULGRQVc3vdnXvKR0iLyUDOvGhq6y6EJ5nbMmmnHDVQ==","signatures":[{"sig":"MEUCIGfYE4OZvl6buI80WnI1VouCWczjGiScvy1elp8ZEb5+AiEA0zZwBb+qiN24rmrWgL0iFRfCuU6Paha5Jo6Ly1JL9Pg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27220},"main":"dist/index.js","types":"dist/types","engines":{"node":">=20"},"gitHead":"05099ce6d98f8d82df1b169036a18e2c3b766ee4","scripts":{"test":":","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alakotkos","email":"alakotko@gmail.com"},"repository":{"url":"git+https://github.com/alakotko/fluent.git","type":"git"},"_npmVersion":"10.8.2","description":"Better Fluent integration for JavaScript","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@fluent/bundle":"^0.17.1","@fluent/langneg":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.5.4","@types/node":"^16.11.20","npm-run-all":"^4.1.5","tsconfig-paths":"^3.12.0"},"_npmOperationalInternal":{"tmp":"tmp/fluent_1.1.4_1721797842337_0.07617440726760316","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"@alakotkos/fluent","version":"1.1.5","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"author":{"url":"https://github.com/slavafomin","name":"Slava Fomin II","email":"slava@fomin.io"},"license":"MIT","_id":"@alakotkos/fluent@1.1.5","maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"homepage":"https://github.com/the-moebius/fluent#readme","bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"dist":{"shasum":"44b48e4f73e84d694dfec0832560faa9476c6361","tarball":"https://registry.npmjs.org/@alakotkos/fluent/-/fluent-1.1.5.tgz","fileCount":17,"integrity":"sha512-H8i24KkBnLB2gMwznEB9fz0FRWSjsIbq/RGAmUMYWEo6pd7Hbgbqur5KybI8HZCe8alDbIDWXyLPFZ7OngxQ/A==","signatures":[{"sig":"MEUCIQCDBdpKMtX8N2QXy/4LbCmTc1kUI2ZzCKtt0v1WzcTekAIgP2QUTe6X+5LNrwR9aqvnYxZ531aPsKCR22F+gae0r4w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27406},"main":"dist/index.js","types":"dist/types","module":"commonjs","engines":{"node":">=12"},"gitHead":"05099ce6d98f8d82df1b169036a18e2c3b766ee4","scripts":{"test":":","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alakotkos","email":"alakotko@gmail.com"},"repository":{"url":"git+https://github.com/the-moebius/fluent.git","type":"git"},"_npmVersion":"10.8.2","description":"Better Fluent integration for JavaScript","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@fluent/bundle":"^0.17.1","@fluent/langneg":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.4.0","typescript":"^4.5.5","@types/node":"^12.20.42","npm-run-all":"^4.1.5","tsconfig-paths":"^3.12.0"},"_npmOperationalInternal":{"tmp":"tmp/fluent_1.1.5_1721798331431_0.22507097246497088","host":"s3://npm-registry-packages"}},"1.1.7":{"name":"@alakotkos/fluent","version":"1.1.7","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"author":{"url":"https://github.com/slavafomin","name":"Slava Fomin II","email":"slava@fomin.io"},"license":"MIT","_id":"@alakotkos/fluent@1.1.7","maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"homepage":"https://github.com/the-moebius/fluent#readme","bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"dist":{"shasum":"7fae7813d60abf5f95083a1a8cb25c314de4a7ac","tarball":"https://registry.npmjs.org/@alakotkos/fluent/-/fluent-1.1.7.tgz","fileCount":14,"integrity":"sha512-Lj0jjvcP3Usb27hBIX7ol8ieeAPLDcc43ynazb69aPUEwfxdBPsi23cXfnk2UGtrjSoL5vo6ClPuboq6DGAIrg==","signatures":[{"sig":"MEUCIQDB6bhVtaIuRoKXzGZaXufkvNTf3zPmxvh90hjRq9VcvAIgOnG2smRteoSpCUNaeRnjskTDKldnuQNAMVJ8ULpdo6M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27077},"main":"dist/index.js","types":"dist/types","engines":{"node":">=12"},"gitHead":"05099ce6d98f8d82df1b169036a18e2c3b766ee4","scripts":{"test":":","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alakotkos","email":"alakotko@gmail.com"},"repository":{"url":"git+https://github.com/the-moebius/fluent.git","type":"git"},"_npmVersion":"10.8.2","description":"Better Fluent integration for JavaScript","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@fluent/bundle":"^0.17.1","@fluent/langneg":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.4.0","typescript":"^4.5.5","@types/node":"^12.20.42","npm-run-all":"^4.1.5","tsconfig-paths":"^3.12.0"},"_npmOperationalInternal":{"tmp":"tmp/fluent_1.1.7_1721799058083_0.9271801396713926","host":"s3://npm-registry-packages"}},"1.1.8":{"name":"@alakotkos/fluent","version":"1.1.8","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"author":{"url":"https://github.com/slavafomin","name":"Slava Fomin II","email":"slava@fomin.io"},"license":"MIT","_id":"@alakotkos/fluent@1.1.8","maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"homepage":"https://github.com/the-moebius/fluent#readme","bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"dist":{"shasum":"34734356b36e48068b0ca27e13a2f24b7f8c0d37","tarball":"https://registry.npmjs.org/@alakotkos/fluent/-/fluent-1.1.8.tgz","fileCount":17,"integrity":"sha512-cN6PJJB/qiWYGldsnxzxC7eosNj+HDq08TSsaDJ781hQ7/L3+XX1yUEtIcdc4/eWjiAQjRyPiBYCobURU1zu1g==","signatures":[{"sig":"MEQCICqdwY6oWg8hWDcNRyfB3O8VdMq++6d3eZqaYIhf57f4AiAQvlS6XzSIlCG1Gxmx/nwrDMCxJ05ogSQZK9ovbXRs/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28103},"main":"dist/index.js","type":"module","types":"dist/types","engines":{"node":">=12"},"gitHead":"05099ce6d98f8d82df1b169036a18e2c3b766ee4","scripts":{"test":":","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alakotkos","email":"alakotko@gmail.com"},"repository":{"url":"git+https://github.com/the-moebius/fluent.git","type":"git"},"_npmVersion":"10.8.2","description":"Better Fluent integration for JavaScript","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@fluent/bundle":"^0.17.1","@fluent/langneg":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.4.0","typescript":"^4.5.5","@types/node":"^12.20.42","npm-run-all":"^4.1.5","tsconfig-paths":"^3.12.0"},"_npmOperationalInternal":{"tmp":"tmp/fluent_1.1.8_1721799353412_0.5466428691325576","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@alakotkos/fluent","version":"1.2.0","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"author":{"url":"https://github.com/slavafomin","name":"Slava Fomin II","email":"slava@fomin.io"},"license":"MIT","_id":"@alakotkos/fluent@1.2.0","maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"homepage":"https://github.com/the-moebius/fluent#readme","bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"dist":{"shasum":"886c7660fe3b93e24f8e9844669fa34f9beba1f3","tarball":"https://registry.npmjs.org/@alakotkos/fluent/-/fluent-1.2.0.tgz","fileCount":14,"integrity":"sha512-MUUBEZe9l+sJsY/dFQB8QGarvKSYEsyuTFdnlrT/aDZLYrPOi9sNOwPF82vjJ8ImYF+XzX/hgSg5vHdqVrbiuw==","signatures":[{"sig":"MEUCIQDoloR1fvMmLCqr+05TESBPSxfku6PZj1oIlZI6tVJUlAIgMo/MiHR0/t0mANmZrWOWZkQk0s4PGggH4v9ZiBCvsJI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25321},"main":"dist/index.js","types":"dist/types","engines":{"node":">=12"},"gitHead":"05099ce6d98f8d82df1b169036a18e2c3b766ee4","scripts":{"test":":","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alakotkos","email":"alakotko@gmail.com"},"repository":{"url":"git+https://github.com/the-moebius/fluent.git","type":"git"},"_npmVersion":"10.8.2","description":"Better Fluent integration for JavaScript","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@fluent/bundle":"^0.17.1","@fluent/langneg":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.4.0","typescript":"^4.5.5","@types/node":"^12.20.42","npm-run-all":"^4.1.5","tsconfig-paths":"^3.12.0"},"_npmOperationalInternal":{"tmp":"tmp/fluent_1.2.0_1721817892624_0.5695637244014298","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@alakotkos/fluent","version":"1.2.1","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"author":{"url":"https://github.com/slavafomin","name":"Slava Fomin II","email":"slava@fomin.io"},"license":"MIT","_id":"@alakotkos/fluent@1.2.1","maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"homepage":"https://github.com/the-moebius/fluent#readme","bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"dist":{"shasum":"ecf3f7c4bb4c2fcfc40cada30b4bbb204e4a48a4","tarball":"https://registry.npmjs.org/@alakotkos/fluent/-/fluent-1.2.1.tgz","fileCount":14,"integrity":"sha512-vyyC3Y7LEpmPWu7euv+751CB4OqXvwDc++kaPzNbYgzC5kR+mloVQiR8zdMFZll+M+Zi3NMHT1D2IWsh6b9nyA==","signatures":[{"sig":"MEYCIQDRYRs2YZBumHrNN6h6pTq6oxRnKU1QW0TibkKSDZpwGAIhAMaF+srBoXrGtWaoHgvJ8hUFD9Vnpq9JWqOyDuoG2YcA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25244},"main":"dist/index.js","types":"dist/types","engines":{"node":">=12"},"gitHead":"05099ce6d98f8d82df1b169036a18e2c3b766ee4","scripts":{"test":":","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alakotkos","email":"alakotko@gmail.com"},"repository":{"url":"git+https://github.com/the-moebius/fluent.git","type":"git"},"_npmVersion":"10.8.2","description":"Better Fluent integration for JavaScript","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@fluent/bundle":"^0.17.1","@fluent/langneg":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.4.0","typescript":"^4.5.5","@types/node":"^12.20.42","npm-run-all":"^4.1.5","tsconfig-paths":"^3.12.0"},"_npmOperationalInternal":{"tmp":"tmp/fluent_1.2.1_1721818134635_0.6504513678117423","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@alakotkos/fluent","version":"1.2.2","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"author":{"url":"https://github.com/slavafomin","name":"Slava Fomin II","email":"slava@fomin.io"},"license":"MIT","_id":"@alakotkos/fluent@1.2.2","maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"homepage":"https://github.com/the-moebius/fluent#readme","bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"dist":{"shasum":"7d15ae7a87729bd459e2b265b48fbc3e9269c693","tarball":"https://registry.npmjs.org/@alakotkos/fluent/-/fluent-1.2.2.tgz","fileCount":14,"integrity":"sha512-S3akK4v9EfMC5tA29K5iIgrgKOMsPmJOy/Gl9bvG2Tu0Rx32RnFuiFs0Hbeu6NUeLT2cl+rlati2Br2Ydv6egA==","signatures":[{"sig":"MEUCIHqob9cCFs8EnY1Uzp9EYR7093684fiHU6Htd/anQNFfAiEA4NyOl6GmMXiK+OcYevRcF/8ufgcIzNAQuVRNuLzd0Hg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25244},"main":"dist/index.js","types":"dist/types","engines":{"node":">=12"},"gitHead":"05099ce6d98f8d82df1b169036a18e2c3b766ee4","scripts":{"test":":","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alakotkos","email":"alakotko@gmail.com"},"repository":{"url":"git+https://github.com/the-moebius/fluent.git","type":"git"},"_npmVersion":"10.8.2","description":"Better Fluent integration for JavaScript","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@fluent/bundle":"^0.17.1","@fluent/langneg":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.4.0","typescript":"^4.5.5","@types/node":"^12.20.42","npm-run-all":"^4.1.5","tsconfig-paths":"^3.12.0"},"_npmOperationalInternal":{"tmp":"tmp/fluent_1.2.2_1721818362479_0.07611802647357768","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"@alakotkos/fluent","version":"1.2.3","description":"Better Fluent integration for JavaScript","scripts":{"build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","prepublishOnly":"npm run build","test":":"},"main":"dist/index.js","types":"dist/types","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"license":"MIT","homepage":"https://github.com/the-moebius/fluent#readme","repository":{"type":"git","url":"git+https://github.com/the-moebius/fluent.git"},"bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"author":{"name":"Slava Fomin II","email":"slava@fomin.io","url":"https://github.com/slavafomin"},"engines":{"node":">=12"},"publishConfig":{"access":"public"},"dependencies":{"@fluent/bundle":"^0.17.1","@fluent/langneg":"^0.6.1"},"devDependencies":{"@types/node":"^12.20.42","npm-run-all":"^4.1.5","ts-node":"^10.4.0","tsconfig-paths":"^3.12.0","typescript":"^4.5.5"},"_id":"@alakotkos/fluent@1.2.3","gitHead":"05099ce6d98f8d82df1b169036a18e2c3b766ee4","_nodeVersion":"20.14.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-lv2/85eNwfWI4JQKfxVVYVwovlYINhkxuhsYZeb+GbCgm/1L4imFcyVZlx8dYcDIW9mnbX70ncZEWySyv6uHVg==","shasum":"0dc97582d61da237ad3c8ab2c4982db339b8be2b","tarball":"https://registry.npmjs.org/@alakotkos/fluent/-/fluent-1.2.3.tgz","fileCount":14,"unpackedSize":25250,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDifIXdWtyBcEK7p2h1SkbJTtCZQLHDI7F9mUpm06ERpwIgbn7lTadf2ynUhfnabc/uNncK9gVT4Wp8Ro0qfyJwcOI="}]},"_npmUser":{"name":"alakotkos","email":"alakotko@gmail.com"},"directories":{},"maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fluent_1.2.3_1721820414289_0.2619896864798825"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-24T04:40:58.913Z","modified":"2024-07-24T11:26:54.625Z","1.1.0":"2024-07-24T04:40:59.123Z","1.1.1":"2024-07-24T04:52:13.100Z","1.1.2":"2024-07-24T04:59:37.904Z","1.1.3":"2024-07-24T05:07:21.816Z","1.1.4":"2024-07-24T05:10:42.476Z","1.1.5":"2024-07-24T05:18:51.639Z","1.1.7":"2024-07-24T05:30:58.234Z","1.1.8":"2024-07-24T05:35:53.565Z","1.2.0":"2024-07-24T10:44:52.795Z","1.2.1":"2024-07-24T10:48:54.836Z","1.2.2":"2024-07-24T10:52:42.645Z","1.2.3":"2024-07-24T11:26:54.458Z"},"bugs":{"url":"https://github.com/the-moebius/fluent/issues"},"author":{"name":"Slava Fomin II","email":"slava@fomin.io","url":"https://github.com/slavafomin"},"license":"MIT","homepage":"https://github.com/the-moebius/fluent#readme","keywords":["fluent","ftl","globalization","i18n","internationalization","l10n","language-matching","language-negotiation","languages","lcoales","locale-matching","locale-negotiation","localization","mozilla","translation"],"repository":{"type":"git","url":"git+https://github.com/the-moebius/fluent.git"},"description":"Better Fluent integration for JavaScript","maintainers":[{"name":"alakotkos","email":"alakotko@gmail.com"}],"readme":"\n# @moebius/fluent\n\n<!-- NPM Badge -->\n<a href=\"https://badge.fury.io/js/@moebius%2Ffluent\">\n  <img src=\"https://badge.fury.io/js/@moebius%2Ffluent.svg\" alt=\"npm version\" height=\"18\">\n</a>\n\n<!-- MIT License Badge -->\n<a href=\"https://opensource.org/licenses/MIT\">\n  <img src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"License: MIT\" height=\"20\">\n</a>\n\nBetter [Fluent][fluent-js] integration for JavaScript.\n\n\n## Features\n\n- Simplifies usage of [Fluent][fluent-js],\n\n- Allows you to specify translations as text or load them\n  from the filesystem,\n\n- Supports automatic\n  [language negotiation and fallback](#language-negotiation-and-fallback)\n  based on the registered locales and the locales supported\n  by the client,\n\n- Supports\n  [attributes](https://projectfluent.org/fluent/guide/attributes.html)\n  out of the box,\n\n- **All LTS Node.js versions are supported**\n  (starting from Node 12),\n\n- **Written completely in TypeScript** from scratch\n  in a very strict manner with 100% type coverage\n  (and no *any*'s), ensuring that the library code\n  is correct (type safe) by itself and also\n  **provides high quality typing declarations** to make\n  sure that your code is also correct and type safe,\n\n- **Enables amazing type completion** for your IDE\n  (even if you are not using TypeScript) thanks to the\n  provided typing declarations,\n\n- **Minimal possible dependencies**\n  (all are high quality ones) updated to the latest versions,\n\n- **Source maps** for the library is generated\n  and provided to you for easier debugging,\n\n- warning handling and logging are fully customizable\n  to suit your individual needs.\n\n\n## Install\n\nInstall the library:\n\n```shell\nnpm install --save @moebius/fluent\n```\n\n\n## Usage\n\n### Add translations\n\n```typescript\nimport { Fluent } from '@moebius/fluent';\n\n// Instantiate a Fluent class\nconst fluent = new Fluent();\n\n// Add as many translations as you need fo your Fluent instance\nawait fluent.addTranslation({\n  locales: 'en',\n  source: (`\n-brand-name = Super Project\n\nwelcome =\n  Welcome, {$name}, to the {-brand-name}!\n  Your balance is: {\n    NUMBER($value, maximumFractionDigits: 2)\n  }\n  You have { NUMBER($applesCount) ->\n    [0] no apples\n    [one] {$applesCount} apple\n    *[other] {$applesCount} apples\n  }\n\n  `),\n});\n\nawait fluent.addTranslation({\n  locales: 'ru',\n  source: (`\n-brand-name = Супер Проект\n\nwelcome =\n  Добро пожаловать, {$name}, в {-brand-name}!\n  У Вас на счету: {\n    NUMBER($value, maximumFractionDigits: 2)\n  }\n  У вас { NUMBER($applesCount) ->\n    [0] нет яблок\n    [one] {$applesCount} яблоко\n    [few] {$applesCount} яблока\n    *[other] {$applesCount} яблок\n  }\n  `),\n});\n```\n\n\n### Use the Fluent instance directly\n\n```typescript\nconst output = fluent.translate('ru', 'welcome', {\n  name: 'Slava',\n  value: 100.12345,\n  applesCount: 5,\n});\n\nconsole.log(output);\n```\n\n\n### Bind the locale\n\nYou can use a helper-method to bind the specified locale\nfor you:\n\n```typescript\n\n// Use `withLocale()` method to create\n// translation function bound\n// to the specified locale:\nconst translate = fluent.withLocale('ru');\n\n// You can also use a shorthand syntax:\nconst t = fluent.withLocale('ru');\n\noutput = translate('welcome', {\n  name: 'Slava',\n  value: 100.12345,\n  applesCount: 5,\n});\n\noutput = t('hello');\n```\n\n\n### Load translations from file system\n\n```typescript\nawait fluent.addTranslation({\n  locales: 'ru',\n  filePath: `${__dirname}/translation.ru.ftl`,\n});\n```\n\nYou can specify multiple files via an array.\n\nIf later files would contain messages with the previously used IDs\nthey will overwrite previous messages:\n\n```typescript\nawait fluent.addTranslation({\n  locales: 'ru',\n  filePath: [\n    `${__dirname}/feature-1/translation.ru.ftl`,\n    `${__dirname}/feature-2/translation.ru.ftl`\n  ],\n});\n```\n\n\n### Specify bundle options\n\n```typescript\nawait fluent.addTranslation({\n  locales: 'ru',\n  source: `…`,\n  bundleOptions: {\n    // This will disable appearance of \"space\"\n    // characters around placeables\n    useIsolating: false,\n  }\n});\n```\n\n## Language negotiation and fallback\n\nThis library implements smart language negotiation and\na fallback logic. It works the following way:\n\n1. You add translations and specify supported locale(s)\n   for each translation.\n\n2. When calling `translate()` you specify locale(s)\n   supported by your user.\n\n3. The library will automatically match requested locale(s)\n   with the registered translations and will build a\n   prioritized list of translations that could be used.\n\n4. The library will then try to find requested message in\n   the best possible translation and if it's not available\n   it will try another translation in set.\n\n5. If all matched translations doesn't have the specified\n   message, then the generic placeholder will be returned\n   instead (e.g. `{message-id}`). The library will also\n   generate warning messages in the console to let you\n   know when any specific translation doesn't have the\n   specified message (so you can fix it). Warning handling\n   and logging [could be easily customized](#warning-handling).\n\n\n## Warning handling\n\nBy default, Fluent will log all the warnings using `console.warn`.\nHowever, this could easily be customized.\n\n\n### Using custom logging function\n\n```typescript\nimport { Fluent, LoggingWarningHandler } from '@moebius/fluent';\n\n// Instructing Fluent to use custom logging function\nconst fluent = new Fluent({\n  warningHandler: new LoggingWarningHandler({\n    logFunction: (...args) => {\n      // @todo: implement your custom logging function\n    },\n  })\n});\n```\n\nSee the [custom-logger](./examples/custom-logger.ts) example.\n\n\n### Using custom warning handler\n\n```typescript\nimport { Fluent, WarningHandler, Warning } from '@moebius/fluent';\n\nclass MyWarningHandler implements WarningHandler {\n\n  public handleWarning(warning: Warning): void {\n    // @todo: implement your custom warning handling,\n    //        the `warning` object contains useful exception details\n  }\n\n}\n\nconst fluent = new Fluent({\n  warningHandler: new MyWarningHandler(),\n});\n```\n\nSee the [warning-handler](./examples/warning-handler.ts) example.\n\n\n## Examples\n\nYou can find various usage examples in the\n[examples](./examples) directory of the library.\n\n\n### Running examples\n\nIn order to run any example on your machine, do the following:\n\n1. **Clone the repository:**\n\n   ```shell\n   git clone https://github.com/moebius/fluent.git\n   cd ./fluent\n   ```\n\n2. **Install all the dependencies:**\n\n   ```shell\n   npm install\n   ```\n\n3. **Run the following command:**\n\n   ```shell\n   npx ts-node \\\n     -P ./tsconfig.examples.json \\\n     -r tsconfig-paths/register \\\n     {PATH TO EXAMPLE}\n   ```\n\n   **Example:**\n\n   ```shell\n   npx ts-node \\\n     -P ./tsconfig.examples.json \\\n     -r tsconfig-paths/register \\\n     ./examples/general.ts\n   ```\n\n   Output of the executed requests will be logged\n   to the terminal.\n\n\n## License (MIT)\n\nCopyright © 2021 Slava Fomin II\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n  [fluent-js]: https://github.com/projectfluent/fluent.js\n","readmeFilename":"README.md"}