{"_id":"@anchanix/fluent-utils","_rev":"1-b2c288e6005579eb027469b28bf8f54a","name":"@anchanix/fluent-utils","dist-tags":{"latest":"0.1.0-beta.1"},"versions":{"0.1.0-beta.0":{"name":"@anchanix/fluent-utils","version":"0.1.0-beta.0","keywords":[],"author":"","license":"MIT","_id":"@anchanix/fluent-utils@0.1.0-beta.0","maintainers":[{"name":"anchanix","email":"sam@anchanix.me"}],"bin":{"fluent-utils":"dist/cli.js"},"dist":{"shasum":"23c3caed346f7347b95edb99f1382f645f488249","tarball":"https://registry.npmjs.org/@anchanix/fluent-utils/-/fluent-utils-0.1.0-beta.0.tgz","fileCount":14,"integrity":"sha512-nhKVitQ+7Nl3oiSj6VQsvwh332DAAKUF2rzam9YqVqFTcLEtOhpQMy4hVaSObLf1E2lT3P4onMxqJeAKGyN/Pw==","signatures":[{"sig":"MEQCIBb4Pic/ooPw5H/zLwbYwIHJS/lzMc2L1l/4oj5HF1f0AiATYn2xIcIRoDp/IMz49VyL/m5YDbqSMbpsv/9txg3lVQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":597447},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"eef8806efd410062c70c2779b03ddd426b09a2b4","scripts":{"lint":"eslint .","build":"tsup","release":"bumpp && npm publish","lint:fix":"eslint . --fix"},"_npmUser":{"name":"anchanix","email":"sam@anchanix.me"},"_npmVersion":"10.2.3","description":"This is a collection of utilities for working with the [Fluent](https://projectfluent.org/) localization system.","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","bumpp":"^9.8.0","chalk":"^5.3.0","citty":"^0.1.6","eslint":"^9.13.0","consola":"^3.2.3","es-toolkit":"^1.25.2","tinyglobby":"^0.2.10","typescript":"^5.6.3","@types/node":"^22.7.9","@fluent/bundle":"^0.18.0","@fluent/syntax":"^0.19.0","@antfu/eslint-config":"^3.8.0"},"_npmOperationalInternal":{"tmp":"tmp/fluent-utils_0.1.0-beta.0_1730426767678_0.8688100637267075","host":"s3://npm-registry-packages"}},"0.1.0-beta.1":{"name":"@anchanix/fluent-utils","version":"0.1.0-beta.1","description":"This is a collection of utilities for working with the [Fluent](https://projectfluent.org/) localization system.","author":"","license":"MIT","keywords":[],"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"bin":{"fluent-utils":"dist/cli.js"},"main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup","release":"bumpp && npm publish","lint":"eslint .","lint:fix":"eslint . --fix"},"devDependencies":{"@antfu/eslint-config":"^3.8.0","@fluent/bundle":"^0.18.0","@fluent/syntax":"^0.19.0","@types/node":"^22.7.9","bumpp":"^9.8.0","chalk":"^5.3.0","citty":"^0.1.6","consola":"^3.2.3","es-toolkit":"^1.25.2","eslint":"^9.13.0","magic-string":"^0.30.12","tinyglobby":"^0.2.10","tsup":"^8.3.0","typescript":"^5.6.3"},"_id":"@anchanix/fluent-utils@0.1.0-beta.1","gitHead":"753587b5e684f8c02165fa8f2626756a10d44c66","_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-/qV0V6mRDKZMn4Xt/u7m4eGEnEtw4nxusvuGxHq4dpDjan+sGDnRur16Y4++PW46gtcAbHRD8GUsVL9zluR9mA==","shasum":"f8a267e1e4d6a6c3cac484c2953f9946bfb5646b","tarball":"https://registry.npmjs.org/@anchanix/fluent-utils/-/fluent-utils-0.1.0-beta.1.tgz","fileCount":14,"unpackedSize":699644,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDLDEa9P56wx8p1Xd+L28M5l468miCzF2cmAyE+Hh80AiBp6XVJ8t2GHkoIYijkQJT3o16rEpWAemqpVJHUjXmZrQ=="}]},"_npmUser":{"name":"anchanix","email":"sam@anchanix.me"},"directories":{},"maintainers":[{"name":"anchanix","email":"sam@anchanix.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fluent-utils_0.1.0-beta.1_1730933521958_0.8513637756586496"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-01T02:06:07.528Z","modified":"2024-11-06T22:52:02.421Z","0.1.0-beta.0":"2024-11-01T02:06:08.039Z","0.1.0-beta.1":"2024-11-06T22:52:02.207Z"},"license":"MIT","keywords":[],"description":"This is a collection of utilities for working with the [Fluent](https://projectfluent.org/) localization system.","maintainers":[{"name":"anchanix","email":"sam@anchanix.me"}],"readme":"# Fluent Utilities\n\nThis is a collection of utilities for working with the [Fluent](https://projectfluent.org/) localization system.\n\n## Installation\n\nUtility functions can be installed from the npm registry:\n```bash\npnpm install @anchanix/fluent-utils\n```\n\nAlternatively the CLI can be run on demand:\n```bash\npnpm dlx @anchanix/fluent-utils check\n```\n\n## Usage\n\n### CLI Commands\n\n#### Check\nCheck your `.ftl` files for syntax errors and languages missing keys.\n\n```bash\npnpm dlx @anchanix/fluent-utils check\n```\n\n#### Types\nGenerate a typings file from `.ftl` files. The type information will include built-in fluent functions, custom functions used in your files as well as a object mapping each message key to the required variables and any attributes it may provide.\n\n```bash\npnpm dlx @anchanix/fluent-utils types\n```\n\n\n## Planned features\n- [ ] Github actions support for the `check` command\n- [ ] Other languages supported by the `type` command","readmeFilename":"README.md"}