{"_id":"@api18n/cli","_rev":"8-5d96632ef95ce3160a99c689990ba4b2","name":"@api18n/cli","dist-tags":{"latest":"0.1.7"},"versions":{"0.1.0":{"name":"@api18n/cli","version":"0.1.0","keywords":["api18n","i18n","internationalization","translations","localization","cli","json"],"author":{"name":"api18n"},"license":"MIT","_id":"@api18n/cli@0.1.0","maintainers":[{"name":"npm-api18n","email":"api18n.app@gmail.com"}],"homepage":"https://github.com/api18n-app/api18n-cli#readme","bugs":{"url":"https://github.com/api18n-app/api18n-cli/issues"},"bin":{"api18n":"bin/api18n.mjs"},"dist":{"shasum":"95a2ad445fa6a37c9fa99dd42903d16bf4caef81","tarball":"https://registry.npmjs.org/@api18n/cli/-/cli-0.1.0.tgz","fileCount":6,"integrity":"sha512-cH3lcWPL5kJHyXAnmLA8dGXWzUHg8QYbyEClx0T41198t9/groGFqix+GTk9GMS3Vy8oBUrlRI99QdHt1RKhpQ==","signatures":[{"sig":"MEYCIQDLf0KFyAWjCeulT3T89klItWsHcL3mH+dDze6+1qvBUQIhAPTeJLYww/zows8cB/PtBKu2MwivplDN9EAj8JrKhfGc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37776},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"fdf6e42e4d128134964c561852750b4f2a7f2403","scripts":{"dev":"tsup src/index.ts --format esm --target node18 --watch --out-dir dist --shims --dts","test":"vitest run","build":"tsup src/index.ts --format esm --target node18 --clean --out-dir dist --shims --dts","start":"node bin/api18n.mjs","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"npm-api18n","email":"api18n.app@gmail.com"},"repository":{"url":"git+https://github.com/api18n-app/api18n-cli.git","type":"git"},"_npmVersion":"11.6.4","description":"Command-line interface for the api18n translation manager. Pull translations to local JSON files and push edits back as reviewable proposals.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"kleur":"^4.1.5","esbuild":"^0.24.0","prompts":"^2.4.2","commander":"^12.1.0","bundle-require":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^22.10.0","@types/prompts":"^2.4.9"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1778529668843_0.6560759347582343","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@api18n/cli","version":"0.1.1","keywords":["api18n","i18n","internationalization","translations","localization","cli","json"],"author":{"name":"api18n"},"license":"MIT","_id":"@api18n/cli@0.1.1","maintainers":[{"name":"npm-api18n","email":"api18n.app@gmail.com"}],"homepage":"https://github.com/api18n-app/api18n-cli#readme","bugs":{"url":"https://github.com/api18n-app/api18n-cli/issues"},"bin":{"api18n":"bin/api18n.mjs"},"dist":{"shasum":"7a9905591ebdf9092c7a5dd722a4abece21f0f2b","tarball":"https://registry.npmjs.org/@api18n/cli/-/cli-0.1.1.tgz","fileCount":6,"integrity":"sha512-L0ouf98f6ExO5XTlTMPV60JmXht4Tmst6frdhYdbypDVrVThvQO7nPTiCYL/jngjrDJT7rYSdI/lb8Q3b7VZfA==","signatures":[{"sig":"MEUCIQDEm3PdsujGcUUcaNonaDdzbasrycsM6mdP3fpBgvAaswIgRm/2iZadI9m+TUz6zUVpkeatatp873RPSsZ7XLJo2nc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37985},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"7c8842cf71add39219914e063004606abac2f41d","scripts":{"dev":"tsup src/index.ts --format esm --target node18 --watch --out-dir dist --shims --dts","test":"vitest run","build":"tsup src/index.ts --format esm --target node18 --clean --out-dir dist --shims --dts","start":"node bin/api18n.mjs","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"npm-api18n","email":"api18n.app@gmail.com"},"repository":{"url":"git+https://github.com/api18n-app/api18n-cli.git","type":"git"},"_npmVersion":"11.6.4","description":"Command-line interface for the api18n translation manager. Pull translations to local JSON files and push edits back as reviewable proposals.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"kleur":"^4.1.5","esbuild":"^0.24.0","prompts":"^2.4.2","commander":"^12.1.0","bundle-require":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^22.10.0","@types/prompts":"^2.4.9"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.1_1778530305041_0.996979987181138","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@api18n/cli","version":"0.1.2","keywords":["api18n","i18n","internationalization","translations","localization","cli","json"],"author":{"name":"api18n"},"license":"MIT","_id":"@api18n/cli@0.1.2","maintainers":[{"name":"npm-api18n","email":"api18n.app@gmail.com"}],"homepage":"https://github.com/api18n-app/api18n-cli#readme","bugs":{"url":"https://github.com/api18n-app/api18n-cli/issues"},"bin":{"api18n":"bin/api18n.mjs"},"dist":{"shasum":"5b0f7fa1da14550ecc1e4844738ff5566f703f3e","tarball":"https://registry.npmjs.org/@api18n/cli/-/cli-0.1.2.tgz","fileCount":6,"integrity":"sha512-loOQQHd4ogET2cReR0n2l4Hq+dWIZCDAfXG1rv7cxobm2Ljapk41+SbDxaehOIXtDpNuFmiIVOHIBJRShI7X5Q==","signatures":[{"sig":"MEQCICxe8u4X16AF5i2IIsXCj5lMqS8o3SqiLZdOnNiKuUGvAiBI/bXyOLNePQ5+FxhXo+mgbh85pe7qZ230yD7xaP2olA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45197},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"291cd3aac9e888bcb0a53a0fc0e3d6cb66920557","scripts":{"dev":"tsup src/index.ts --format esm --target node18 --watch --out-dir dist --shims --dts","test":"vitest run","build":"tsup src/index.ts --format esm --target node18 --clean --out-dir dist --shims --dts","start":"node bin/api18n.mjs","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"npm-api18n","email":"api18n.app@gmail.com"},"repository":{"url":"git+https://github.com/api18n-app/api18n-cli.git","type":"git"},"_npmVersion":"11.6.4","description":"Command-line interface for the api18n translation manager. Pull translations to local JSON files and push edits back as reviewable proposals.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"kleur":"^4.1.5","esbuild":"^0.24.0","prompts":"^2.4.2","commander":"^12.1.0","bundle-require":"^5.0.0","@formatjs/icu-messageformat-parser":"^2.7.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^22.10.0","@types/prompts":"^2.4.9"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.2_1778551245658_0.272643940012943","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@api18n/cli","version":"0.1.3","keywords":["api18n","i18n","internationalization","translations","localization","cli","json"],"author":{"name":"api18n"},"license":"MIT","_id":"@api18n/cli@0.1.3","maintainers":[{"name":"npm-api18n","email":"api18n.app@gmail.com"}],"homepage":"https://github.com/api18n-app/api18n-cli#readme","bugs":{"url":"https://github.com/api18n-app/api18n-cli/issues"},"bin":{"api18n":"bin/api18n.mjs"},"dist":{"shasum":"92784a21735170b39c2665d703f936de5588f3b7","tarball":"https://registry.npmjs.org/@api18n/cli/-/cli-0.1.3.tgz","fileCount":6,"integrity":"sha512-+hoKo0yocaiG23GZoxu+ydN4XcjJzCItB3UefIi1p78sOqkKD1J1IrWyz3Ta+AsmnYoZRKYWl0CiyJw9vIo5VQ==","signatures":[{"sig":"MEUCIQD8vRW4De9w57RCr93lOaq5zK0H5MyLqUjnjcgRFVBopQIgfFL4KYDs+2Br7hCcHNnf3Fis0vObFaz89DzcL/XFtXw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45211},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"a480985e815e4c3061aa837ce5e1bb5a5e5dfa06","scripts":{"dev":"tsup src/index.ts --format esm --target node18 --watch --out-dir dist --shims --dts","test":"vitest run","build":"tsup src/index.ts --format esm --target node18 --clean --out-dir dist --shims --dts","start":"node bin/api18n.mjs","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"npm-api18n","email":"api18n.app@gmail.com"},"repository":{"url":"git+https://github.com/api18n-app/api18n-cli.git","type":"git"},"_npmVersion":"11.6.4","description":"Command-line interface for the api18n translation manager. Pull translations to local JSON files and push edits back as reviewable proposals.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"kleur":"^4.1.5","esbuild":"^0.24.0","prompts":"^2.4.2","commander":"^12.1.0","bundle-require":"^5.0.0","@formatjs/icu-messageformat-parser":"^2.7.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^22.10.0","@types/prompts":"^2.4.9"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.3_1778552709743_0.4265432530175548","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@api18n/cli","version":"0.1.4","keywords":["api18n","i18n","internationalization","translations","localization","cli","json"],"author":{"name":"api18n"},"license":"MIT","_id":"@api18n/cli@0.1.4","maintainers":[{"name":"npm-api18n","email":"api18n.app@gmail.com"}],"homepage":"https://github.com/api18n-app/api18n-cli#readme","bugs":{"url":"https://github.com/api18n-app/api18n-cli/issues"},"bin":{"api18n":"bin/api18n.mjs"},"dist":{"shasum":"649f4970af19124b88206ed5e6a5ef35aebad6ce","tarball":"https://registry.npmjs.org/@api18n/cli/-/cli-0.1.4.tgz","fileCount":6,"integrity":"sha512-DRfBzCzXqoX8OghS9ejM7Gtt1umAILdK3Ij6dLZd/IHABOj78m8p7mSiLQ8beK5QfD7u8kDglpQBHFjYR7c/ww==","signatures":[{"sig":"MEQCIGTBozuVlmuMlDnb8kIfe4EeV7r0u+S9diq1mLQ+OZWzAiBu2YnQI2Gx/70HkFJgGa304zWU++3BCTZc/ka9Qt9K1w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45463},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4d9084dfe9269a8ab7edbd1eaa9050c728c482dc","scripts":{"dev":"tsup src/index.ts --format esm --target node18 --watch --out-dir dist --shims --dts","test":"vitest run","build":"tsup src/index.ts --format esm --target node18 --clean --out-dir dist --shims --dts","start":"node bin/api18n.mjs","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"npm-api18n","email":"api18n.app@gmail.com"},"repository":{"url":"git+https://github.com/api18n-app/api18n-cli.git","type":"git"},"_npmVersion":"11.6.4","description":"Command-line interface for the api18n translation manager. Pull translations to local JSON files and push edits back as reviewable proposals.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"kleur":"^4.1.5","esbuild":"^0.24.0","prompts":"^2.4.2","commander":"^12.1.0","bundle-require":"^5.0.0","@formatjs/icu-messageformat-parser":"^2.7.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^22.10.0","@types/prompts":"^2.4.9"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.4_1778903159955_0.5554579629484033","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@api18n/cli","version":"0.1.5","keywords":["api18n","i18n","internationalization","translations","localization","cli","json"],"author":{"name":"api18n"},"license":"MIT","_id":"@api18n/cli@0.1.5","maintainers":[{"name":"npm-api18n","email":"api18n.app@gmail.com"}],"homepage":"https://github.com/api18n-app/api18n-cli#readme","bugs":{"url":"https://github.com/api18n-app/api18n-cli/issues"},"bin":{"api18n":"bin/api18n.mjs"},"dist":{"shasum":"4d1a18261fa4a3977768f60d719ff24d37b563a4","tarball":"https://registry.npmjs.org/@api18n/cli/-/cli-0.1.5.tgz","fileCount":6,"integrity":"sha512-zeygUg/v0bOnVt3/Pkmvu+lyOPIao1ky7p1WJFMzPJY6tStkzEQ57cVsVusggg4JW1xqfKorCI7vUgjmfnuPAw==","signatures":[{"sig":"MEUCIFvS+l0PGR3pM1lKJT3i3hkUp6G6kCvpMq+6+OD79aAMAiEA3RIhsXFOPLDOjDU/oEGepQ9YP/cI/gWXBhd7f8VuuW8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":148757},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"90fc09af53c9c27d420b09219e938c6373e0e669","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","start":"node bin/api18n.mjs","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"npm-api18n","email":"api18n.app@gmail.com"},"repository":{"url":"git+https://github.com/api18n-app/api18n-cli.git","type":"git"},"_npmVersion":"11.6.4","description":"Command-line interface for the api18n translation manager. Pull translations to local JSON files and push edits back as reviewable proposals.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"ora":"^9.4.0","kleur":"^4.1.5","esbuild":"^0.24.0","prompts":"^2.4.2","commander":"^12.1.0","bundle-require":"^5.0.0","@formatjs/icu-messageformat-parser":"^2.7.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^22.10.0","@types/prompts":"^2.4.9"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.5_1779563712567_0.4113280361481284","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@api18n/cli","version":"0.1.6","keywords":["api18n","i18n","internationalization","translations","localization","cli","json"],"author":{"name":"api18n"},"license":"MIT","_id":"@api18n/cli@0.1.6","maintainers":[{"name":"npm-api18n","email":"api18n.app@gmail.com"}],"homepage":"https://github.com/api18n-app/api18n-cli#readme","bugs":{"url":"https://github.com/api18n-app/api18n-cli/issues"},"bin":{"api18n":"bin/api18n.mjs"},"dist":{"shasum":"3620fab01fd78764f4ddc494a998025d49d5b566","tarball":"https://registry.npmjs.org/@api18n/cli/-/cli-0.1.6.tgz","fileCount":6,"integrity":"sha512-svM4wS+CYR8PGSuCiEWaLSfMH8npZ14lJYwUggxgcvKiKxkMSiUO32uod/mjeHnT0QVZ1l0zIv58HVCfAo2EzQ==","signatures":[{"sig":"MEYCIQCW5WKEqMjrt7jYdAtibrNaFRBTSlM8BP1zbkGTPmGTagIhAIpmfIsB0kEvlJhpSLYGP3OH8ZeLBDIfuS//csha9z3b","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162354},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"0f56c1f05137cda58f9bfea2822212cf5f65099b","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","start":"node bin/api18n.mjs","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"npm-api18n","email":"api18n.app@gmail.com"},"repository":{"url":"git+https://github.com/api18n-app/api18n-cli.git","type":"git"},"_npmVersion":"11.16.0","description":"Command-line interface for the api18n translation manager. Pull translations to local JSON files and push edits back as reviewable proposals.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"fzf":"^0.5.2","ora":"^9.4.0","kleur":"^4.1.5","esbuild":"^0.24.0","prompts":"^2.4.2","commander":"^12.1.0","jsonc-parser":"^3.3.1","bundle-require":"^5.0.0","@formatjs/icu-messageformat-parser":"^2.7.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^22.10.0","@types/prompts":"^2.4.9"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.6_1785713187231_0.5427170129310865","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@api18n/cli","version":"0.1.7","description":"Command-line interface for the api18n translation manager. Pull translations to local JSON files and push edits back as reviewable proposals.","license":"MIT","author":{"name":"api18n"},"homepage":"https://github.com/api18n-app/api18n-cli#readme","repository":{"type":"git","url":"git+https://github.com/api18n-app/api18n-cli.git"},"bugs":{"url":"https://github.com/api18n-app/api18n-cli/issues"},"keywords":["api18n","i18n","internationalization","translations","localization","cli","json"],"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"bin":{"api18n":"bin/api18n.mjs"},"scripts":{"build":"tsup","dev":"tsup --watch","typecheck":"tsc --noEmit","test":"vitest run","test:watch":"vitest","prepublishOnly":"bun run typecheck && bun run test && bun run build","start":"node bin/api18n.mjs"},"dependencies":{"@formatjs/icu-messageformat-parser":"^2.7.8","bundle-require":"^5.0.0","commander":"^12.1.0","esbuild":"^0.24.0","fzf":"^0.5.2","jsonc-parser":"^3.3.1","kleur":"^4.1.5","ora":"^9.4.0","prompts":"^2.4.2"},"devDependencies":{"@types/node":"^22.10.0","@types/prompts":"^2.4.9","tsup":"^8.3.5","typescript":"^5.6.3","vitest":"^2.1.5"},"engines":{"node":">=18.0.0"},"gitHead":"cf5fef3327cc76437cb03337597032fd2ec3182d","_id":"@api18n/cli@0.1.7","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-pXnzdsSLONa7FaddHaaVgjbLhCWF8UYelwG5Ooy75tWumyNpY46MRphaQHNuI9Pu5brZa70Il/Y+731yW6+Feg==","shasum":"8b8f0b4f6ce504194010e57028aafdeb0c8450d6","tarball":"https://registry.npmjs.org/@api18n/cli/-/cli-0.1.7.tgz","fileCount":6,"unpackedSize":159770,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEu0vPNX6HYV5iHEuKTfwNP6USxW87hCWjYFg5ju2mQRAiEAxNbFaUUGklaffddV3HRtNd4+fbGgCBPxR76c4P8t5t4="}]},"_npmUser":{"name":"npm-api18n","email":"api18n.app@gmail.com"},"directories":{},"maintainers":[{"name":"npm-api18n","email":"api18n.app@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.7_1786310264347_0.2834537231997776"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-11T20:01:08.733Z","modified":"2026-08-09T21:17:44.651Z","0.1.0":"2026-05-11T20:01:09.009Z","0.1.1":"2026-05-11T20:11:45.188Z","0.1.2":"2026-05-12T02:00:45.828Z","0.1.3":"2026-05-12T02:25:09.884Z","0.1.4":"2026-05-16T03:46:00.099Z","0.1.5":"2026-05-23T19:15:12.729Z","0.1.6":"2026-08-02T23:26:27.371Z","0.1.7":"2026-08-09T21:17:44.499Z"},"bugs":{"url":"https://github.com/api18n-app/api18n-cli/issues"},"author":{"name":"api18n"},"license":"MIT","homepage":"https://github.com/api18n-app/api18n-cli#readme","keywords":["api18n","i18n","internationalization","translations","localization","cli","json"],"repository":{"type":"git","url":"git+https://github.com/api18n-app/api18n-cli.git"},"description":"Command-line interface for the api18n translation manager. Pull translations to local JSON files and push edits back as reviewable proposals.","maintainers":[{"name":"npm-api18n","email":"api18n.app@gmail.com"}],"readme":"# @api18n/cli\n\nCommand-line interface for the [api18n](https://www.api18n.com) translation\nmanager. Pull translation keys from the dashboard\n([https://www.api18n.com](https://www.api18n.com)) to local JSON files, and\npush edits back as reviewable proposals.\n\n## Install\n\n```bash\nnpm install --save-dev @api18n/cli\n# or\nbun add -d @api18n/cli\n```\n\n## Setup\n\n```bash\nnpx api18n init           # creates api18n.config.ts\nnpx api18n login          # paste a Personal Access Token from the dashboard\nnpx api18n pull           # writes messages/{locale}.json\n```\n\n## Configuration\n\n`api18n.config.ts` at the root of your repo:\n\n```ts\nimport { defineConfig } from \"@api18n/cli\";\n\nexport default defineConfig({\n  // Path pattern with {locale} placeholder. Default: messages/{locale}.json\n  locales: \"messages/{locale}.json\",\n\n  // Optional — only pull/push these locales. Defaults to all enabled\n  // on the dashboard.\n  // include: ['en', 'pt', 'fr'],\n\n  // Required if your account belongs to more than one company.\n  // companyId: process.env.API18N_COMPANY_ID,\n});\n```\n\nLocales marked experimental by api18n are fully supported by pull and push.\nThe CLI prints a warning when one is included so the status is visible.\n\n## Authentication\n\n`api18n login` walks you through generating a Personal Access Token at\n[**Dashboard → Settings → API Keys**](https://www.api18n.com/dashboard/settings/api-keys).\nFor CI, pass the token directly:\n\n```bash\napi18n login --token \"$API18N_PAT\"\napi18n pull\n```\n\n## Commands\n\n| Command                      | What it does                                                                                                                                             |\n| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `api18n init`                | Create `api18n.config.ts`                                                                                                                                |\n| `api18n login`               | Store a Personal Access Token                                                                                                                            |\n| `api18n logout`              | Delete the stored token                                                                                                                                  |\n| `api18n whoami`              | Print the signed-in user and company                                                                                                                     |\n| `api18n pull`                | Fetch translations and write local files                                                                                                                 |\n| `api18n pull --dry-run`      | Show what would change without writing                                                                                                                   |\n| `api18n pull --locale en pt` | Only pull specific locales                                                                                                                               |\n| `api18n push`                | Submit local changes as a proposal for dashboard approval ([https://www.api18n.com/dashboard/translation](https://www.api18n.com/dashboard/translation)) |\n| `api18n push -m \"...\"`       | Attach a summary to the proposal                                                                                                                         |\n| `api18n push --dry-run`      | Show the diff without submitting                                                                                                                         |\n| `api18n status`              | Show pending proposals and local-vs-server drift                                                                                                         |\n| `api18n proposals list`      | List recent proposals                                                                                                                                    |\n| `api18n proposals show <id>` | Print a single proposal's full diff                                                                                                                      |\n\n## File format\n\nPulled files are JSON, one per locale, nested by dot-segments of the key:\n\n```json\n// messages/en.json\n{\n  \"button\": {\n    \"cancel\": \"Cancel\",\n    \"save\": \"Save\"\n  },\n  \"createCompany\": {\n    \"metadata\": {\n      \"title\": \"Create company\"\n    }\n  }\n}\n```\n\nThis matches the conventions used by `next-intl`, `i18next`, and most\nJavaScript i18n libraries. Empty (`null`) translations are omitted from\nthe output so missing keys don't show up as JSON `null`s.\n","readmeFilename":"README.md"}