{"_id":"dire","_rev":"38-58b6a8c2770f426949bdc99daa92c9b4","name":"dire","dist-tags":{"latest":"0.4.7"},"versions":{"0.2.7":{"name":"dire","version":"0.2.7","keywords":["i18n","translation","ai","localization","cli","go"],"license":"SEE LICENSE IN LICENSE","_id":"dire@0.2.7","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"homepage":"https://direlang.com","bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"bin":{"dire":"bin/dire.js"},"dist":{"shasum":"35440f0db69fc704c05ea98db99aa8f9bda3c138","tarball":"https://registry.npmjs.org/dire/-/dire-0.2.7.tgz","fileCount":13,"integrity":"sha512-5woNIAxzPD/Hle+xplmat/kwD3bRtWBwCxUlMrBtdU6z+U8uX5ASEtSlS29inkhR0E7giHD6OM1bKNoXUMEYag==","signatures":[{"sig":"MEMCIGLNwj9N71AgCbo1UkJYTAsv9cMRO/BiEhELNVxyncMGAh9+D2DdQpZUcgJ3QInWYMjCNmfmv7fp5f19e+D+QFFJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2434120},"type":"module","engines":{"node":">=20"},"gitHead":"8d9e9066215dcabb82924145aa86fecaaf329f0c","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"repository":{"url":"git+https://github.com/juliandreas/dire-cli.git","type":"git"},"_npmVersion":"10.9.0","description":"Go-based CLI that automatically processes missing translations in your i18n files by using AI, glossary, and pre-determined translations","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dire_0.2.7_1756925715647_0.021313515486145684","host":"s3://npm-registry-packages-npm-production"}},"0.2.8":{"name":"dire","version":"0.2.8","keywords":["i18n","translation","ai","localization","cli","go"],"license":"SEE LICENSE IN LICENSE","_id":"dire@0.2.8","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"homepage":"https://direlang.com","bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"bin":{"dire":"bin/dire.js"},"dist":{"shasum":"8e97c79e3c47398506b5eb183dc1a9b5c911b3af","tarball":"https://registry.npmjs.org/dire/-/dire-0.2.8.tgz","fileCount":13,"integrity":"sha512-wRWwwWPaOefVchR9wKEAjwI3+FNLCWReFdUbK1k7PI9r39CdnAM1qhm354ekXYMPqFWVItg7cLH+sL+LVtrgWA==","signatures":[{"sig":"MEQCIFgqaOXEh3dTuqHavh8ObyiaOg7bYCHkMuJGIDN77UjFAiArCiZKI3C8rcysm+IH7NrV2gnzhBgASwOLxGxeQ1tA0g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2433589},"type":"module","engines":{"node":">=20"},"gitHead":"c154c6223ea57877846da1db8796d8e184dc944d","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"repository":{"url":"git+https://github.com/juliandreas/dire-cli.git","type":"git"},"_npmVersion":"10.9.3","description":"Go-based CLI that automatically processes missing translations in your i18n files by using AI, glossary, and pre-determined translations","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dire_0.2.8_1756967989768_0.5300002046541727","host":"s3://npm-registry-packages-npm-production"}},"0.2.9":{"name":"dire","version":"0.2.9","keywords":["i18n","translation","ai","localization","cli","go"],"license":"SEE LICENSE IN LICENSE","_id":"dire@0.2.9","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"homepage":"https://direlang.com","bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"bin":{"dire":"bin/dire.js"},"dist":{"shasum":"c7cfa5e2880f7c9de6de3885bdee51c635fffdfa","tarball":"https://registry.npmjs.org/dire/-/dire-0.2.9.tgz","fileCount":13,"integrity":"sha512-g/Yz3W0aL5pbp5813epRceF077TNSY0RhBKzmd/VyhwEzbFxfEn6QcLmQ4SgXmpMSUsIvAavX7hT3rTCDvSyHA==","signatures":[{"sig":"MEUCIGUNDGa8QTaIBIOesR8a8XkDghb3cRi2HcQS1UmWNg4gAiEA9bDt72wFOtgdgkOU1ikCAJd8snZlXi3FiCRYwnSw+9g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2434244},"type":"module","engines":{"node":">=20"},"gitHead":"d653b56f803a56f74e341b90a02b76b6f347765a","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"repository":{"url":"git+https://github.com/juliandreas/dire-cli.git","type":"git"},"_npmVersion":"10.9.0","description":"Go-based CLI that automatically processes missing translations in your i18n files by using AI, glossary, and pre-determined translations","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dire_0.2.9_1757009404617_0.08654514981763639","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"dire","version":"0.3.0","keywords":["i18n","translation","ai","localization","cli","go"],"license":"SEE LICENSE IN LICENSE","_id":"dire@0.3.0","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"homepage":"https://direlang.com","bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"bin":{"dire":"bin/dire.js"},"dist":{"shasum":"5080e618cc1937ee7a166c6de698e4263a223614","tarball":"https://registry.npmjs.org/dire/-/dire-0.3.0.tgz","fileCount":14,"integrity":"sha512-eDRJiRmEoiQLJHDLA9rZ5avGIGgIzBpPQBHUyQuhaL9pOYVXxfn/RkkjoH/sL4Gq8W/Q54agJQ5K/BP4pfTOVg==","signatures":[{"sig":"MEYCIQC7HoPd6AI2x/f59atNmBhC8kwa5YvTFKepmnYUl1VSxQIhAL43Gfz8JeIb+RhKTtbI0jun0BtHQnBfc2U1y6kVvnV1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8871493},"type":"module","engines":{"node":">=20"},"gitHead":"535e6f08c421b3cd729af6eb2e1576560a342688","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"repository":{"url":"git+https://github.com/juliandreas/dire-cli.git","type":"git"},"_npmVersion":"10.9.0","description":"Go-based CLI that automatically processes missing translations in your i18n files by using AI, glossary, and pre-determined translations","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dire_0.3.0_1758442650076_0.8040211951872129","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"dire","version":"0.3.1","keywords":["i18n","translation","ai","localization","cli","go"],"license":"SEE LICENSE IN LICENSE","_id":"dire@0.3.1","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"homepage":"https://direlang.com","bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"bin":{"dire":"bin/dire.js"},"dist":{"shasum":"388c341d1bb56985cfac005d30d4b28d5c98db6d","tarball":"https://registry.npmjs.org/dire/-/dire-0.3.1.tgz","fileCount":14,"integrity":"sha512-rHSg4D30wWB/C4002VJOAvUaEza/XXS+Rg+SXAcZSrSVxgaMQT8DrnuLeAUc8U3O7Oi0Agn4FR8RRndsdcQfaA==","signatures":[{"sig":"MEYCIQDVnWX/Hj9RwDP1N2NZktH5RZCji4LfgllDhMsouR+UVwIhAInrZJg2kL0vQpKtxboyFDZdGS8tztx7eZ4QuclCfsnH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5164587},"type":"module","engines":{"node":">=20"},"gitHead":"2cb067afdbc98f040c3a97dca92a0a7e010ddaf1","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"repository":{"url":"git+https://github.com/juliandreas/dire-cli.git","type":"git"},"_npmVersion":"10.9.0","description":"Go-based CLI that automatically processes missing translations in your i18n files by using AI, glossary, and pre-determined translations","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dire_0.3.1_1758528349332_0.7007264655515661","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"dire","version":"0.4.0","keywords":["i18n","translation","ai","localization","cli","go"],"license":"SEE LICENSE IN LICENSE","_id":"dire@0.4.0","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"homepage":"https://direlang.com","bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"bin":{"dire":"bin/dire.js"},"dist":{"shasum":"8d02ff2faa9b47b4444533b4289a4e0491a623b2","tarball":"https://registry.npmjs.org/dire/-/dire-0.4.0.tgz","fileCount":14,"integrity":"sha512-ipUCiatyHm5pNheKFYWcV8RmgbmbzrPqB2h879chFMUNdahc1xN1X+ol6xdw7KdccTuRF36Szt48i+wxTwtM4g==","signatures":[{"sig":"MEYCIQCC0KLGv5MV+LF9SmlnLmD/tNbnRwHe9F6IumqdFp4KggIhANd+M8bjNvebTOA/yYBDvbiZ7tedRSR0EcuvwTTeaf/0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5163802},"type":"module","engines":{"node":">=20"},"gitHead":"50ec995fa03af2161d7a56287297cd535491a744","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"repository":{"url":"git+https://github.com/juliandreas/dire-cli.git","type":"git"},"_npmVersion":"10.9.0","description":"Go-based CLI that automatically processes missing translations in your i18n files using translation providers, glossary definitions, and translation memory","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dire_0.4.0_1759246529374_0.5661722717605804","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"dire","version":"0.4.1","keywords":["i18n","translation","ai","localization","cli","go"],"license":"SEE LICENSE IN LICENSE","_id":"dire@0.4.1","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"homepage":"https://direlang.com","bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"bin":{"dire":"bin/dire.js"},"dist":{"shasum":"4c989048e92a61634ae5ca86025e58e9754dbab9","tarball":"https://registry.npmjs.org/dire/-/dire-0.4.1.tgz","fileCount":14,"integrity":"sha512-I6xsrHhIq6EGD+iVw/6NbYT2ZBB+oQClhCfUSqw0Cx+Vu8JR+7DJa3tbNvAuVuIWMQPCWGy22z1B6u/3uxc83Q==","signatures":[{"sig":"MEQCIAuYHJesRaKIE1D3P69NQBE5EYFk86A1h+IuGm83NiYwAiAwWiPaD4v4WUV5Tx5NnzhyHjycHwb/5QHvRtzc20AU8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5165305},"type":"module","engines":{"node":">=20"},"gitHead":"a51bf9b717f765ce8ce8e188330bf49220600b7e","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"repository":{"url":"git+https://github.com/juliandreas/dire-cli.git","type":"git"},"_npmVersion":"10.9.0","description":"Go-based CLI that automatically processes missing translations in your i18n files using translation providers, glossary definitions, and translation memory","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dire_0.4.1_1759590991604_0.5596904804364766","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"dire","version":"0.4.2","keywords":["i18n","translation","ai","localization","cli","go"],"license":"SEE LICENSE IN LICENSE","_id":"dire@0.4.2","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"homepage":"https://direlang.com","bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"bin":{"dire":"bin/dire.js"},"dist":{"shasum":"bedf852c2964c7aafa101bfad9cf0778a14249c1","tarball":"https://registry.npmjs.org/dire/-/dire-0.4.2.tgz","fileCount":14,"integrity":"sha512-psWVrE1rxrh78EnSfgmIG1ta4dnSLcHz7PDZRd6UbK3fSfgXcmprzjrPR3OW09WC8dtDD/YdNNHqfGM9uCq7Aw==","signatures":[{"sig":"MEQCICPX23pus9aUXey/2vC7mOW2SaionacRHEqgNonB1HNHAiAX5Tf1cD3/PkDhHoKetq6imWnWOPi3pZRZHbA74eQg+w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5165305},"type":"module","engines":{"node":">=20"},"gitHead":"6b4d1fbfe7a59d5e44891a0270d972ed7b1da760","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"repository":{"url":"git+https://github.com/juliandreas/dire-cli.git","type":"git"},"_npmVersion":"10.9.0","description":"Go-based CLI that automatically processes missing translations in your i18n files using translation providers, glossary definitions, and translation memory","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dire_0.4.2_1759650729193_0.5218037249019754","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"dire","version":"0.4.3","keywords":["i18n","translation","ai","localization","cli","go"],"license":"SEE LICENSE IN LICENSE","_id":"dire@0.4.3","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"homepage":"https://direlang.com","bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"bin":{"dire":"bin/dire.js"},"dist":{"shasum":"004f29012c27d9c6678b7749fd4095246c3a13e9","tarball":"https://registry.npmjs.org/dire/-/dire-0.4.3.tgz","fileCount":14,"integrity":"sha512-4WBPJ92GWqUs2fg+e7k5cBzEi1iFPr8FpaEjTOF6ToBSaBRhXdbxb0hyUG5VyLoc+cyOj1J8vfj1m8aOP3qCIA==","signatures":[{"sig":"MEYCIQDxrIgb4V+FR63EvEswP5Ep6HF9iHKba7oUhEtdCC8JpwIhAJIv4nAEnFGKLGfqCSKGx4YsuC/q+QVs5IcHvynq0i7A","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5166218},"type":"module","engines":{"node":">=20"},"gitHead":"31c699ba0c56bc72dd98842bc1f3526544f05311","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"repository":{"url":"git+https://github.com/juliandreas/dire-cli.git","type":"git"},"_npmVersion":"10.9.0","description":"Go-based CLI that automatically processes missing translations in your i18n files using translation providers, glossary definitions, and translation memory","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dire_0.4.3_1759760979154_0.996686836861782","host":"s3://npm-registry-packages-npm-production"}},"0.4.4":{"name":"dire","version":"0.4.4","keywords":["i18n","translation","ai","localization","cli","go"],"license":"SEE LICENSE IN LICENSE","_id":"dire@0.4.4","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"homepage":"https://direlang.com","bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"bin":{"dire":"bin/dire.js"},"dist":{"shasum":"ed49aa5006f96a4e22a27a33766a98b4bfdaa848","tarball":"https://registry.npmjs.org/dire/-/dire-0.4.4.tgz","fileCount":14,"integrity":"sha512-6J1HnO8SP8F2VF6XWfKJx7vQBSbVQZJ7o/+kCpaGFTu/ktKeip98dJ69LE8iMQeFKxrRVmdpVwe5BSBsdlEP3A==","signatures":[{"sig":"MEUCIAj7+LAjzOG22iCSXk8NKe2zswiyS9HXvqhVeMOw7aHtAiEAj+6SAQQ9v8y9e6ot3mecFUjc0IB0VAVi74lEb3Gxq20=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5167059},"type":"module","engines":{"node":">=20"},"gitHead":"d6c1aeb4d49ec5122f7d928ad98ec69ee2ed6dae","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"repository":{"url":"git+https://github.com/juliandreas/dire-cli.git","type":"git"},"_npmVersion":"10.9.0","description":"Go-based CLI that automatically processes missing translations in your i18n JSON files using translation and AI providers, glossary definitions, and translation memory","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dire_0.4.4_1760264523285_0.1382516147956634","host":"s3://npm-registry-packages-npm-production"}},"0.4.5":{"name":"dire","version":"0.4.5","keywords":["i18n","l10n","translation","ai","localization","cli","go"],"license":"SEE LICENSE IN LICENSE","_id":"dire@0.4.5","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"homepage":"https://direlang.com","bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"bin":{"dire":"bin/dire.js"},"dist":{"shasum":"2fcc747dea19fafad233e94e60e59fd2be5b4f9b","tarball":"https://registry.npmjs.org/dire/-/dire-0.4.5.tgz","fileCount":14,"integrity":"sha512-nb3Mg2L9WIkBHYeR+0cvJXAuRxM0KlUQDnzzLg/oTWMfc/495PZbjxCg0QSc8kKN/7Vm7rmBygZ/dOs1LFP/jw==","signatures":[{"sig":"MEYCIQDXyd01MCBAEwvT43aST3Q4P9X/DUOyQr9neqtJ6oni1wIhAKmYv1kaL3rfNu+FQjlJfHYGw4CmnE/IxYxTXOEzALHf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5180209},"type":"module","engines":{"node":">=20"},"gitHead":"81a47107d6cdb19bd8b4249c1c77e6a01d4f1bcb","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"repository":{"url":"git+https://github.com/juliandreas/dire-cli.git","type":"git"},"_npmVersion":"10.9.0","description":"Go-based CLI tool that automatically handles translation and maintenance of your i18n JSON files using translation and AI providers, glossary definitions, and translation memory","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dire_0.4.5_1760803293396_0.016261449017385132","host":"s3://npm-registry-packages-npm-production"}},"0.4.6":{"name":"dire","version":"0.4.6","keywords":["i18n","l10n","translation","ai","localization","cli","go"],"license":"SEE LICENSE IN LICENSE","_id":"dire@0.4.6","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"homepage":"https://direlang.com","bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"bin":{"dire":"bin/dire.js"},"dist":{"shasum":"8b6f15afffc14718b6169ab82e8b693b2494b15c","tarball":"https://registry.npmjs.org/dire/-/dire-0.4.6.tgz","fileCount":15,"integrity":"sha512-WXkrh7rkL9p+1IMH15N33wylUIr8YgM0LGn70u46ayRydp7a01M/Fwh5WFjElaMT//Ozh9S1rRiLJMyX+zM+eQ==","signatures":[{"sig":"MEUCIQDXpeUFZSDs75JvK7+NjjSNkiM1YNLViIDAaZMEqDZDAAIgJShIPFLBhb4CnMPHUsdtBJkg49P0r0sTR5r4/TD0/5Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5184613},"type":"module","engines":{"node":">=20"},"gitHead":"68ae39a06031bb15fa1c21c4860711b505ace3b2","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"repository":{"url":"git+https://github.com/juliandreas/dire-cli.git","type":"git"},"_npmVersion":"10.9.0","description":"Go-based CLI tool that automatically handles translation and maintenance of your i18n JSON files using translation and AI providers, glossary definitions, and translation memory","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dire_0.4.6_1760889166989_0.24727014268869696","host":"s3://npm-registry-packages-npm-production"}},"0.4.7":{"name":"dire","license":"SEE LICENSE IN LICENSE","version":"0.4.7","description":"Go-based CLI tool that automatically translates and maintains your i18n JSON files using translation and AI providers, glossary definitions, and translation memory","keywords":["i18n","l10n","translation","ai","localization","cli","go"],"homepage":"https://direlang.com","repository":{"type":"git","url":"git+https://github.com/juliandreas/dire-cli.git"},"bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"type":"module","engines":{"node":">=20"},"bin":{"dire":"bin/dire.js"},"scripts":{"postinstall":"node scripts/install.js"},"_id":"dire@0.4.7","gitHead":"11acc1654c0081e5ba62b47482f57493e9e4b7d5","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-5rOFYwOVfAfrUPoN4x0ESf05hjxVjdwFDVUTSNSwND+/MSJayfVm6oDTlOkhWR7W1DX0HHjiPORFYUx8EYvveg==","shasum":"a336165ce740346ad66686fe89e3aee7b8021060","tarball":"https://registry.npmjs.org/dire/-/dire-0.4.7.tgz","fileCount":15,"unpackedSize":5184792,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGXRvQ2YmYI3fRvNw1gBhXQMjFhSxk9QH7Q/lyxOSt88AiEA7ERAtH8baQ+Vqqz3meO6jrIgQu1TS+WKXnNDUxUrw2I="}]},"_npmUser":{"name":"juliandreas","email":"juliandreas@fastmail.com"},"directories":{},"maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dire_0.4.7_1761401130240_0.39903727466628136"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-15T19:51:13.071Z","modified":"2025-10-25T14:05:30.669Z","1.0.0":"2012-10-14T18:19:53.051Z","1.0.1":"2013-12-14T21:09:34.417Z","0.1.0":"2025-06-15T19:51:13.248Z","0.2.0":"2025-08-07T11:02:25.951Z","0.2.1":"2025-08-07T11:36:51.739Z","0.2.2":"2025-08-07T12:08:37.773Z","0.2.3":"2025-08-07T12:31:21.334Z","0.2.4":"2025-08-07T12:37:38.069Z","0.2.5":"2025-08-31T08:10:09.593Z","0.2.6":"2025-08-31T08:24:04.365Z","0.2.7":"2025-09-03T18:55:15.894Z","0.2.8":"2025-09-04T06:39:49.973Z","0.2.9":"2025-09-04T18:10:04.910Z","0.3.0":"2025-09-21T08:17:30.467Z","0.3.1":"2025-09-22T08:05:49.719Z","0.4.0":"2025-09-30T15:35:29.646Z","0.4.1":"2025-10-04T15:16:31.844Z","0.4.2":"2025-10-05T07:52:09.480Z","0.4.3":"2025-10-06T14:29:39.369Z","0.4.4":"2025-10-12T10:22:03.533Z","0.4.5":"2025-10-18T16:01:33.640Z","0.4.6":"2025-10-19T15:52:47.233Z","0.4.7":"2025-10-25T14:05:30.491Z"},"bugs":{"url":"https://github.com/juliandreas/dire-cli/issues"},"license":"SEE LICENSE IN LICENSE","homepage":"https://direlang.com","keywords":["i18n","l10n","translation","ai","localization","cli","go"],"repository":{"type":"git","url":"git+https://github.com/juliandreas/dire-cli.git"},"description":"Go-based CLI tool that automatically translates and maintains your i18n JSON files using translation and AI providers, glossary definitions, and translation memory","maintainers":[{"name":"juliandreas","email":"juliandreas@fastmail.com"}],"readme":"# Dire\r\n\r\n<p align=\"center\">\r\n<img src=\"https://raw.githubusercontent.com/juliandreas/dire-cli/refs/heads/main/assets/dire.png\" alt=\"Dire Logo\">\r\n</p>\r\n\r\n<p align=\"center\">\r\n    <a href=\"https://www.npmjs.com/package/dire\"><img src=\"https://img.shields.io/npm/v/dire\" alt=\"npm version\"></a>\r\n    <a href=\"https://github.com/juliandreas/dire-cli\"><img src=\"https://img.shields.io/badge/language-Go-00ADD8?logo=go\" alt=\"Go\"></a>\r\n    <a href=\"https://github.com/juliandreas/dire-cli/blob/main/LICENSE\"><img src=\"https://img.shields.io/badge/license-freeware-black\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\">\r\nAutomated JSON i18n maintenance for developers\r\n</p>\r\n\r\n<p align=\"center\">\r\nDire (French for \"to say\", pronounced /diʁ/) is a Go-based CLI tool that automatically translates and maintains your i18n JSON files using translation and AI providers, glossary definitions, and translation memory\r\n</p>\r\n\r\n<p align=\"center\">\r\nBYOK (Bring Your Own Key) - Use your own provider API keys for maximum control and cost transparency\r\n</p>\r\n\r\n<p align=\"center\">\r\n<img src=\"https://raw.githubusercontent.com/juliandreas/dire-cli/refs/heads/main/assets/demo.gif\" alt=\"Dire Demo\" width=\"800\">\r\n</p>\r\n\r\n## Features\r\n\r\n- **Multi-provider support:** DeepL, Google Translate, Azure AI Translator, Claude, OpenAI, Gemini, Mistral, and DeepSeek\r\n- **Automatic translation reuse:** sourcing from glossary definitions and translation memory\r\n- **Translation rephrasing:** generate alternative phrasings to improve quality\r\n- **Completeness checking:** lint translation files in CI/CD pipelines with `--check` flag\r\n- **Cleanup orphaned keys:** remove translations that no longer exist in your reference locale with `--prune`\r\n- **Context-aware translations:** provide domain-specific context for better results\r\n- **Nested object support:** handles complex JSON structures and deeply nested translations\r\n- **High-performance:** native Go binary with smart batching and concurrent processing\r\n\r\n## Installation\r\n\r\n```bash\r\n# Option 1: Install as project dependency\r\nnpm i dire\r\n\r\n# Option 2: Install globally\r\nnpm i -g dire\r\n\r\n# Option 3: Run without installing\r\nnpx dire\r\n```\r\n\r\n## Quick Start\r\n\r\n1. **Initialize Configuration**\r\n\r\n   ```bash\r\n   dire init\r\n   ```\r\n\r\n   This creates a `.dire.toml` file in your project root. Edit it to match your project structure. See [CONFIGURATION.md](docs/CONFIGURATION.md) for complete configuration reference.\r\n\r\n   Note: The `.dire.toml` config file is optional. You can configure everything via CLI flags (see [Configuration Override Flags](docs/COMMANDS.md#configuration-override-flags)). However, the TOML file offers quality-of-life features like glossary management and multiple pre-configured providers for quick switching.\r\n\r\n2. **Set Up API Keys**\r\n\r\n   See [Supported Providers](#supported-providers) section below for setup details.\r\n\r\n   Note: Dire automatically loads environment variables from any `.env*` files in your current directory (e.g., `.env`, `.env.local`, `.env.production`).\r\n\r\n3. **Run Translation**\r\n\r\n   ```bash\r\n   dire\r\n   ```\r\n\r\n## Common Commands\r\n\r\n| Command             | Description                                                         |\r\n| ------------------- | ------------------------------------------------------------------- |\r\n| `dire`              | Translate all missing keys in your i18n files                       |\r\n| `dire --keys <key>` | Translate specific key(s): `dire --keys \"auth.login,auth.register\"` |\r\n| `dire --sourced`    | Apply only glossary and memory translations                         |\r\n| `dire --stub`       | Create placeholder translations (empty strings)                     |\r\n| `dire --prune`      | Remove orphaned keys from non-reference locales                     |\r\n| `dire --check`      | Lint translation completeness for CI/CD                             |\r\n\r\nSee [COMMANDS.md](docs/COMMANDS.md) for the complete command reference.\r\n\r\n## Supported Providers\r\n\r\nSet your API key in any `.env*` file in your project root:\r\n\r\n| Provider                                                                                    | Environment Variable    |\r\n| ------------------------------------------------------------------------------------------- | ----------------------- |\r\n| [DeepL](https://www.deepl.com/)                                                             | `DIRE_DEEPL_API_KEY`    |\r\n| [Google Translate](https://cloud.google.com/translate)                                      | `DIRE_GOOGLE_API_KEY`   |\r\n| [Azure AI Translator](https://azure.microsoft.com/en-us/products/ai-services/ai-translator) | `DIRE_AZURE_API_KEY`    |\r\n| [OpenAI](https://openai.com/)                                                               | `DIRE_OPENAI_API_KEY`   |\r\n| [Claude](https://www.anthropic.com/)                                                        | `DIRE_CLAUDE_API_KEY`   |\r\n| [Gemini](https://gemini.google.com/)                                                        | `DIRE_GEMINI_API_KEY`   |\r\n| [Mistral](https://mistral.ai/)                                                              | `DIRE_MISTRAL_API_KEY`  |\r\n| [DeepSeek](https://deepseek.com/)                                                           | `DIRE_DEEPSEEK_API_KEY` |\r\n\r\nExample `.env` file:\r\n\r\n```bash\r\nDIRE_CLAUDE_API_KEY=sk-ant-api03-your-key-here\r\n```\r\n\r\n## Requirements\r\n\r\n- Node.js 20 or higher\r\n- API key for at least one supported provider (if using the translation features)\r\n\r\n## License\r\n\r\nAll rights reserved. This software is provided for use only and may not be copied, modified, or redistributed without explicit permission.\r\n","readmeFilename":"README.md"}