{"_id":"@2017takeda/jt-cli","_rev":"12-e03db66b5ec3ffb4edf6332b67371250","name":"@2017takeda/jt-cli","dist-tags":{"latest":"1.3.2"},"versions":{"1.0.0":{"name":"@2017takeda/jt-cli","version":"1.0.0","keywords":["jsonata","json","query","transform","cli","yaml","csv"],"author":{"name":"TAKEDA Takashi"},"license":"MIT","_id":"@2017takeda/jt-cli@1.0.0","maintainers":[{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"}],"homepage":"https://github.com/TAKEDA-Takashi/jt-cli#readme","bugs":{"url":"https://github.com/TAKEDA-Takashi/jt-cli/issues"},"bin":{"jt":"dist/jt.js"},"dist":{"shasum":"4430a56e4e47b738dce124e7e6a26f3787d5f8de","tarball":"https://registry.npmjs.org/@2017takeda/jt-cli/-/jt-cli-1.0.0.tgz","fileCount":35,"integrity":"sha512-+dfYhs0/GNW7sj9gCwx2O2o/zuCouGRRmSOpd6puAT4jxUOpDDr7Kuff/16DA05pTP3LDSAhQq7r3cbc+VfPVA==","signatures":[{"sig":"MEUCIQCIWLR8A3kbE2MRi5oefdp9+ZjkAGkyBESlRPP5jZGYNQIgYguVMqkM7KG+tBwAVX/T/dZN2VFN46HVofi1rai/Rvk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2017takeda%2fjt-cli@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":84249},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"7dc20a264b3ff1064676e97140e482a256761b3d","scripts":{"dev":"tsx watch src/cli.ts","lint":"biome lint --write .","test":"vitest run","build":"node build.mjs","clean":"rm -rf dist coverage","start":"node dist/jt.js","format":"biome format --write .","prebuild":"npm run clean","build:cli":"node build.mjs --cli","build:lib":"node build.mjs --lib","typecheck":"tsc --noEmit","lint:check":"biome check .","test:watch":"vitest","build:types":"node build.mjs --types","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"2017takeda","actor":{"name":"2017takeda","type":"user","email":"takeda.takashi0308@gmail.com"},"email":"takeda.takashi0308@gmail.com"},"repository":{"url":"git+https://github.com/TAKEDA-Takashi/jt-cli.git","type":"git"},"_npmVersion":"11.4.2","description":"JSONata query and transformation tool for the command line","directories":{},"_nodeVersion":"24.3.0","dependencies":{"js-yaml":"^4.1.0","jsonata":"^2.0.5","commander":"^14.0.0","csv-stringify":"^6.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","vitest":"^3.2.4","esbuild":"^0.25.6","typescript":"^5.7.2","@types/node":"^20.19.6","@biomejs/biome":"^2.1.1","@types/js-yaml":"^4.0.9","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/jt-cli_1.0.0_1752144473247_0.41762097840199464","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@2017takeda/jt-cli","version":"1.1.0","keywords":["jsonata","json","query","transform","cli","yaml","csv"],"author":{"name":"TAKEDA Takashi"},"license":"MIT","_id":"@2017takeda/jt-cli@1.1.0","maintainers":[{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"}],"homepage":"https://github.com/TAKEDA-Takashi/jt-cli#readme","bugs":{"url":"https://github.com/TAKEDA-Takashi/jt-cli/issues"},"bin":{"jt":"dist/jt.js"},"dist":{"shasum":"c4b221a52855a3f62d4a51500b86af291bd5e842","tarball":"https://registry.npmjs.org/@2017takeda/jt-cli/-/jt-cli-1.1.0.tgz","fileCount":35,"integrity":"sha512-qA0Ppiv7BCVCQJ1X83p+yZG9PPJ0kldrwDHYbIkjijcoZvhp+7RMhjwZs3d9LYvQz8+wnuQlGGs5nkhzE/6LPg==","signatures":[{"sig":"MEUCIDszdIeYohepgkruBymqrI0RHr8kJcZ//HWIabK/2lh6AiEAvYWlw9DvCIRq/7KzFz3AkrHm+vaKHcKDBvqMXw3mQFc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2017takeda%2fjt-cli@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":75177},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"4bd7b1685fc958a687f56c4bd5ff123cf56a9df6","scripts":{"dev":"tsx watch src/cli.ts","lint":"biome lint --write .","test":"vitest run","build":"node build.mjs","clean":"rm -rf dist coverage","start":"node dist/jt.js","format":"biome format --write .","prebuild":"npm run clean","build:cli":"node build.mjs --cli","build:lib":"node build.mjs --lib","typecheck":"tsc --noEmit","lint:check":"biome check .","test:watch":"vitest","build:types":"node build.mjs --types","test:coverage":"vitest run --coverage","prepublishOnly":"NODE_ENV=production npm run build"},"_npmUser":{"name":"2017takeda","actor":{"name":"2017takeda","type":"user","email":"takeda.takashi0308@gmail.com"},"email":"takeda.takashi0308@gmail.com"},"repository":{"url":"git+https://github.com/TAKEDA-Takashi/jt-cli.git","type":"git"},"_npmVersion":"11.4.2","description":"JSONata query and transformation tool for the command line","directories":{},"_nodeVersion":"24.3.0","dependencies":{"js-yaml":"^4.1.0","jsonata":"^2.0.5","commander":"^14.0.0","csv-stringify":"^6.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","vitest":"^3.2.4","esbuild":"^0.25.6","typescript":"^5.7.2","@types/node":"^20.19.6","@biomejs/biome":"^2.1.1","@types/js-yaml":"^4.0.9","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/jt-cli_1.1.0_1752146571039_0.3472769848875372","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@2017takeda/jt-cli","version":"1.2.0","keywords":["jsonata","json","query","transform","cli","yaml","csv"],"author":{"name":"TAKEDA Takashi"},"license":"MIT","_id":"@2017takeda/jt-cli@1.2.0","maintainers":[{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"}],"homepage":"https://github.com/TAKEDA-Takashi/jt-cli#readme","bugs":{"url":"https://github.com/TAKEDA-Takashi/jt-cli/issues"},"bin":{"jt":"dist/jt.js"},"dist":{"shasum":"167278eb991e51413dfae7ca76449b78a8a0e12d","tarball":"https://registry.npmjs.org/@2017takeda/jt-cli/-/jt-cli-1.2.0.tgz","fileCount":39,"integrity":"sha512-4soBSkCzM+Ugg4lD7MCWrDh8ZgrvcomN5caHVHOqUHl3781V57SG98TXIqwn/cFFsNu3+SwJhCopWji70ykoqg==","signatures":[{"sig":"MEUCIQDqAY7871w38rrpeLLGiu9Crd8OB9qWaGEJrtfnXbq9FAIgZqG8fH7tiO9gLzibYdG2mqADDfio+W+eAcISDdzMWLk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2017takeda%2fjt-cli@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":452017},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"524ec2143f8d1258fc3a5960404cdec41d22c4a8","scripts":{"dev":"tsx watch src/cli.ts","lint":"biome lint --write .","test":"vitest run","build":"node build.mjs","clean":"rm -rf dist coverage","start":"node dist/jt.js","format":"biome format --write .","prebuild":"npm run clean","build:cli":"node build.mjs --cli","build:lib":"node build.mjs --lib","typecheck":"tsc --noEmit","lint:check":"biome check .","test:watch":"vitest","build:types":"node build.mjs --types","test:coverage":"vitest run --coverage","prepublishOnly":"NODE_ENV=production npm run build"},"_npmUser":{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"},"repository":{"url":"git+https://github.com/TAKEDA-Takashi/jt-cli.git","type":"git"},"_npmVersion":"11.4.2","description":"JSONata query and transformation tool for the command line","directories":{},"_nodeVersion":"24.4.0","dependencies":{"chalk":"^5.4.1","js-yaml":"^4.1.0","jsonata":"^2.0.5","commander":"^14.0.0","csv-parse":"^6.0.0","csv-stringify":"^6.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","vitest":"^3.2.4","esbuild":"^0.25.6","typescript":"^5.7.2","@types/node":"^20.19.6","@biomejs/biome":"^2.1.1","@types/js-yaml":"^4.0.9","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/jt-cli_1.2.0_1752207554265_0.6946495465098659","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@2017takeda/jt-cli","version":"1.2.1","keywords":["jsonata","json","query","transform","cli","yaml","csv"],"author":{"name":"TAKEDA Takashi"},"license":"MIT","_id":"@2017takeda/jt-cli@1.2.1","maintainers":[{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"}],"homepage":"https://github.com/TAKEDA-Takashi/jt-cli#readme","bugs":{"url":"https://github.com/TAKEDA-Takashi/jt-cli/issues"},"bin":{"jt":"dist/jt.js"},"dist":{"shasum":"f7aef40f1287197d3d11b06912bdede238030586","tarball":"https://registry.npmjs.org/@2017takeda/jt-cli/-/jt-cli-1.2.1.tgz","fileCount":51,"integrity":"sha512-TGRWFvV8o/C+AbUkTlqBeD8I0hZC9VMXFYbCDZrg7Ph4bRdp12AY5gOM08iEseip7Jg3wZ5czqdNTsren7OJnQ==","signatures":[{"sig":"MEYCIQDSkDW6Mqpo3BwORPOCjkXLterUC5fYQZY0s6oimQPRBQIhAOAb6UsQ5ZAxu8Nm1EF1H6XKRxJLBNTgFi23xMjuWMWV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2017takeda%2fjt-cli@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":473399},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"0c148c199db1752a052f7a7791b4684cece1eb5e","scripts":{"dev":"tsx watch src/cli.ts","lint":"biome lint --write .","test":"vitest run","build":"node build.mjs","check":"biome check .","clean":"rm -rf dist coverage","start":"node dist/jt.js","format":"biome format --write .","prebuild":"npm run clean","build:cli":"node build.mjs --cli","build:lib":"node build.mjs --lib","check:fix":"biome check --write .","typecheck":"tsc --noEmit","test:watch":"vitest","build:types":"node build.mjs --types","test:coverage":"vitest run --coverage","prepublishOnly":"NODE_ENV=production npm run build"},"_npmUser":{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"},"deprecated":"This version has been deprecated. Please use 1.2.3 or later.","repository":{"url":"git+https://github.com/TAKEDA-Takashi/jt-cli.git","type":"git"},"_npmVersion":"11.4.2","description":"JSONata query and transformation tool for the command line","directories":{},"_nodeVersion":"24.4.0","dependencies":{"chalk":"^5.4.1","js-yaml":"^4.1.0","jsonata":"^2.0.5","commander":"^14.0.0","csv-parse":"^6.0.0","csv-stringify":"^6.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","vitest":"^3.2.4","esbuild":"^0.25.6","typescript":"^5.7.2","@types/node":"^20.19.6","@biomejs/biome":"^2.1.1","@types/js-yaml":"^4.0.9","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/jt-cli_1.2.1_1752221336404_0.12068729370193965","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@2017takeda/jt-cli","version":"1.2.2","keywords":["jsonata","json","query","transform","cli","yaml","csv"],"author":{"name":"TAKEDA Takashi"},"license":"MIT","_id":"@2017takeda/jt-cli@1.2.2","maintainers":[{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"}],"homepage":"https://github.com/TAKEDA-Takashi/jt-cli#readme","bugs":{"url":"https://github.com/TAKEDA-Takashi/jt-cli/issues"},"bin":{"jt":"dist/jt.js"},"dist":{"shasum":"efdc9cf6822a88546cfdbf74e8beaeaa156a4f88","tarball":"https://registry.npmjs.org/@2017takeda/jt-cli/-/jt-cli-1.2.2.tgz","fileCount":51,"integrity":"sha512-Tw/vFuSDMZHefUwYXSPTBb0zXTzHPZc0MJdUDMpBs5jL0TipL3fhGWXXxX5cHTTq80TvQQ01RSMfWxGaDObaBg==","signatures":[{"sig":"MEQCIDuWxBkcMMYoe/GrBiCZHG8zNhGbIkVrwSE+Hha9ydvTAiBLGDZKnbHvyA3IA/76clSPBApyeADautAJWVNAVSkHOA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2017takeda%2fjt-cli@1.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":473399},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"a671fa1bf7d2142f82f44f3287734d94f2fdc4b3","scripts":{"dev":"tsx watch src/cli.ts","lint":"biome lint --write .","test":"vitest run","build":"node build.mjs","check":"biome check .","clean":"rm -rf dist coverage","start":"node dist/jt.js","format":"biome format --write .","prebuild":"npm run clean","build:cli":"node build.mjs --cli","build:lib":"node build.mjs --lib","check:fix":"biome check --write .","typecheck":"tsc --noEmit","test:watch":"vitest","build:types":"node build.mjs --types","test:coverage":"vitest run --coverage","prepublishOnly":"NODE_ENV=production npm run build"},"_npmUser":{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"},"deprecated":"This version has been deprecated. Please use 1.2.3 or later.","repository":{"url":"git+https://github.com/TAKEDA-Takashi/jt-cli.git","type":"git"},"_npmVersion":"11.4.2","description":"JSONata query and transformation tool for the command line","directories":{},"_nodeVersion":"24.4.0","dependencies":{"chalk":"^5.4.1","js-yaml":"^4.1.0","jsonata":"^2.0.5","commander":"^14.0.0","csv-parse":"^6.0.0","csv-stringify":"^6.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","vitest":"^3.2.4","esbuild":"^0.25.6","typescript":"^5.7.2","@types/node":"^20.19.6","@biomejs/biome":"^2.1.1","@types/js-yaml":"^4.0.9","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/jt-cli_1.2.2_1752221648974_0.4952433183881275","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@2017takeda/jt-cli","version":"1.2.3","keywords":["jsonata","json","query","transform","cli","yaml","csv"],"author":{"name":"TAKEDA Takashi"},"license":"MIT","_id":"@2017takeda/jt-cli@1.2.3","maintainers":[{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"}],"homepage":"https://github.com/TAKEDA-Takashi/jt-cli#readme","bugs":{"url":"https://github.com/TAKEDA-Takashi/jt-cli/issues"},"bin":{"jt":"dist/jt.js"},"dist":{"shasum":"aabee0bdbbc772a550a7d665255003ab15856b79","tarball":"https://registry.npmjs.org/@2017takeda/jt-cli/-/jt-cli-1.2.3.tgz","fileCount":51,"integrity":"sha512-KjvcESbadamZCEgj759ANhUdkd+8/4Pw7AcZO/oXLNEv0nljA6uHFzMTbSpRBqah3nMyjXdwHAjzE09/iL6sYw==","signatures":[{"sig":"MEUCIAhNXWf/8yf9GBdxcHtifxx6ncU4wE8VK0RQ+KXn58TjAiEAwwO8yiIc1ml4um+GqDQ5z2cWf2V07Z8cJDXRq3xlq1s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2017takeda%2fjt-cli@1.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":473399},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"bb63efc3f7e8692d21b5c7a218fd2de973015bb8","scripts":{"dev":"tsx watch src/cli.ts","lint":"biome lint --write .","test":"vitest run","build":"node build.mjs","check":"biome check .","clean":"rm -rf dist coverage","start":"node dist/jt.js","format":"biome format --write .","prebuild":"npm run clean","build:cli":"node build.mjs --cli","build:lib":"node build.mjs --lib","check:fix":"biome check --write .","typecheck":"tsc --noEmit","test:watch":"vitest","build:types":"node build.mjs --types","test:coverage":"vitest run --coverage","prepublishOnly":"NODE_ENV=production npm run build"},"_npmUser":{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"},"repository":{"url":"git+https://github.com/TAKEDA-Takashi/jt-cli.git","type":"git"},"_npmVersion":"11.4.2","description":"JSONata query and transformation tool for the command line","directories":{},"_nodeVersion":"24.4.0","dependencies":{"chalk":"^5.4.1","js-yaml":"^4.1.0","jsonata":"^2.0.5","commander":"^14.0.0","csv-parse":"^6.0.0","csv-stringify":"^6.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","vitest":"^3.2.4","esbuild":"^0.25.6","typescript":"^5.7.2","@types/node":"^20.19.6","@biomejs/biome":"^2.1.1","@types/js-yaml":"^4.0.9","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/jt-cli_1.2.3_1752223157237_0.08594975180849818","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@2017takeda/jt-cli","version":"1.2.4","keywords":["jsonata","json","query","transform","cli","yaml","csv"],"author":{"name":"TAKEDA Takashi"},"license":"MIT","_id":"@2017takeda/jt-cli@1.2.4","maintainers":[{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"}],"homepage":"https://github.com/TAKEDA-Takashi/jt-cli#readme","bugs":{"url":"https://github.com/TAKEDA-Takashi/jt-cli/issues"},"bin":{"jt":"dist/jt.js"},"dist":{"shasum":"6f2be33d1c4a268be181cc10da4789c9fe36738b","tarball":"https://registry.npmjs.org/@2017takeda/jt-cli/-/jt-cli-1.2.4.tgz","fileCount":51,"integrity":"sha512-e6f92XaZptrLWz0SNXlmJHqXUM0AA8tu3h5seqmMR7OyOXBzQjJ+bXCIclF/+yXKQ7LTMeIrVlpFiD4kHfVYGw==","signatures":[{"sig":"MEUCIQCT2EbjEg6YmkJtXNxc/ErBoIRszlH4UYSviR+tm8ZaRQIgSxN88LOGWVQ1SnvtciNKoYOktYscIVzFu2iHBrzh+FY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2017takeda%2fjt-cli@1.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":475496},"main":"./dist/index.js","type":"module","_from":"file:2017takeda-jt-cli-1.2.4.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"scripts":{"dev":"tsx watch src/cli.ts","lint":"biome lint --write .","test":"vitest run","build":"node build.mjs","check":"biome check .","clean":"rm -rf dist coverage","start":"node dist/jt.js","format":"biome format --write .","prebuild":"pnpm run clean","build:cli":"node build.mjs --cli","build:lib":"node build.mjs --lib","check:fix":"biome check --write .","typecheck":"tsc --noEmit","test:watch":"vitest","build:types":"node build.mjs --types","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bbfd4861-cc0d-48d4-b667-6005fc7e9026"}},"_resolved":"/tmp/ca0f559b624f470e0ebafc0959ee2530/2017takeda-jt-cli-1.2.4.tgz","_integrity":"sha512-e6f92XaZptrLWz0SNXlmJHqXUM0AA8tu3h5seqmMR7OyOXBzQjJ+bXCIclF/+yXKQ7LTMeIrVlpFiD4kHfVYGw==","repository":{"url":"git+https://github.com/TAKEDA-Takashi/jt-cli.git","type":"git"},"_npmVersion":"11.6.2","description":"JSONata query and transformation tool for the command line","directories":{},"_nodeVersion":"24.12.0","dependencies":{"chalk":"^5.6.2","js-yaml":"^4.1.1","jsonata":"^2.1.0","commander":"^14.0.2","csv-parse":"^6.1.0","csv-stringify":"^6.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.17","esbuild":"^0.25.12","typescript":"^5.9.3","@types/node":"^20.19.30","@biomejs/biome":"^2.3.11","@types/js-yaml":"^4.0.9","@vitest/coverage-v8":"^4.0.17"},"_npmOperationalInternal":{"tmp":"tmp/jt-cli_1.2.4_1768796118675_0.4968089298401066","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@2017takeda/jt-cli","version":"1.3.0","keywords":["jsonata","json","query","transform","cli","yaml","csv"],"author":{"name":"TAKEDA Takashi"},"license":"MIT","_id":"@2017takeda/jt-cli@1.3.0","maintainers":[{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"}],"homepage":"https://github.com/TAKEDA-Takashi/jt-cli#readme","bugs":{"url":"https://github.com/TAKEDA-Takashi/jt-cli/issues"},"bin":{"jt":"dist/jt.js"},"dist":{"shasum":"65724992219c13e1e25f8a44dc7c9b66d1935c8a","tarball":"https://registry.npmjs.org/@2017takeda/jt-cli/-/jt-cli-1.3.0.tgz","fileCount":55,"integrity":"sha512-x2rFl2ZxsOLM96eqkiI8BQlup8OWxJkP3EHoadcU64r1CH8yZtDKz94IafM6ntwijUKWLgxA49Zhejc5dXizUg==","signatures":[{"sig":"MEUCIAcbY+f1mq2+6YYLgrX8e+JvSm+vob274qBIql50GnDbAiEA9XLYM/LtPBdNP4k6b6893y/ITJq5QMHJC3adjcH1aMU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2017takeda%2fjt-cli@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":487879},"main":"./dist/index.js","type":"module","_from":"file:2017takeda-jt-cli-1.3.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"scripts":{"dev":"tsx watch src/cli.ts","lint":"biome lint --write .","test":"vitest run","build":"node build.mjs","check":"biome check .","clean":"rm -rf dist coverage","start":"node dist/jt.js","format":"biome format --write .","release":"./scripts/release.sh","prebuild":"pnpm run clean","build:cli":"node build.mjs --cli","build:lib":"node build.mjs --lib","check:fix":"biome check --write .","typecheck":"tsc --noEmit","test:watch":"vitest","build:types":"node build.mjs --types","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bbfd4861-cc0d-48d4-b667-6005fc7e9026"}},"_resolved":"/tmp/ccf3db22043a491f670fac4830feebb0/2017takeda-jt-cli-1.3.0.tgz","_integrity":"sha512-x2rFl2ZxsOLM96eqkiI8BQlup8OWxJkP3EHoadcU64r1CH8yZtDKz94IafM6ntwijUKWLgxA49Zhejc5dXizUg==","repository":{"url":"git+https://github.com/TAKEDA-Takashi/jt-cli.git","type":"git"},"_npmVersion":"11.9.0","description":"JSONata query and transformation tool for the command line","directories":{},"_nodeVersion":"24.14.0","dependencies":{"chalk":"^5.6.2","js-yaml":"^4.1.1","jsonata":"^2.1.0","commander":"^14.0.3","csv-parse":"^6.1.0","csv-stringify":"^6.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","esbuild":"^0.25.12","typescript":"^5.9.3","@types/node":"^22.19.13","@biomejs/biome":"^2.4.5","@types/js-yaml":"^4.0.9","@vitest/coverage-v8":"^4.0.18"},"_npmOperationalInternal":{"tmp":"tmp/jt-cli_1.3.0_1772868118858_0.19863653828191374","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@2017takeda/jt-cli","version":"1.3.1","keywords":["jsonata","json","query","transform","cli","yaml","csv"],"author":{"name":"TAKEDA Takashi"},"license":"MIT","_id":"@2017takeda/jt-cli@1.3.1","maintainers":[{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"}],"homepage":"https://github.com/TAKEDA-Takashi/jt-cli#readme","bugs":{"url":"https://github.com/TAKEDA-Takashi/jt-cli/issues"},"bin":{"jt":"dist/jt.js"},"dist":{"shasum":"e0bc26b3d023dbeb3c8c158981b4fb085222cbe5","tarball":"https://registry.npmjs.org/@2017takeda/jt-cli/-/jt-cli-1.3.1.tgz","fileCount":55,"integrity":"sha512-B7a4UpN9FtfuzYhV2WkvDopnkfjtSXJP2u0QgEgpn9e3/bxZD/2memTOUTp8bm1FQStaJBJyV4aKAMjvsaeRIw==","signatures":[{"sig":"MEUCIDbzWnspS8RFFdaYp2VozWpTymJ7dQ3g9pJiQf/KKlbhAiEA4BpCDmeVViyUKz2sGEuCF35BsmHnIZSlVMiI0X05E6Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2017takeda%2fjt-cli@1.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":488075},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"gitHead":"58912e027c7ef6f61519abe87000ea53d0033a72","scripts":{"dev":"tsx watch src/cli.ts","lint":"biome lint --write .","test":"vitest run","build":"node build.mjs","check":"biome check .","clean":"rm -rf dist coverage","start":"node dist/jt.js","format":"biome format --write .","release":"./scripts/release.sh","prebuild":"npm run clean","build:cli":"node build.mjs --cli","build:lib":"node build.mjs --lib","check:fix":"biome check --write .","typecheck":"tsc --noEmit","test:watch":"vitest","build:types":"node build.mjs --types","test:coverage":"vitest run --coverage","prepublishOnly":"NODE_ENV=production npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bbfd4861-cc0d-48d4-b667-6005fc7e9026"}},"repository":{"url":"git+https://github.com/TAKEDA-Takashi/jt-cli.git","type":"git"},"_npmVersion":"11.9.0","description":"JSONata query and transformation tool for the command line","directories":{},"_nodeVersion":"24.14.0","dependencies":{"chalk":"^5.6.2","js-yaml":"^4.1.1","jsonata":"^2.1.0","commander":"^14.0.3","csv-parse":"^6.1.0","csv-stringify":"^6.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","esbuild":"^0.25.12","typescript":"^5.9.3","@types/node":"^22.19.13","@biomejs/biome":"^2.4.9","@types/js-yaml":"^4.0.9","@vitest/coverage-v8":"^4.0.18"},"_npmOperationalInternal":{"tmp":"tmp/jt-cli_1.3.1_1774857063698_0.028252573768388967","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@2017takeda/jt-cli","version":"1.3.2","description":"JSONata query and transformation tool for the command line","keywords":["jsonata","json","query","transform","cli","yaml","csv"],"homepage":"https://github.com/TAKEDA-Takashi/jt-cli#readme","bugs":{"url":"https://github.com/TAKEDA-Takashi/jt-cli/issues"},"repository":{"type":"git","url":"git+https://github.com/TAKEDA-Takashi/jt-cli.git"},"license":"MIT","author":{"name":"TAKEDA Takashi"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","bin":{"jt":"dist/jt.js"},"scripts":{"build":"node build.mjs","build:cli":"node build.mjs --cli","build:lib":"node build.mjs --lib","build:types":"node build.mjs --types","clean":"rm -rf dist coverage","dev":"tsx watch src/cli.ts","format":"biome format --write .","lint":"biome lint --write .","check":"biome check .","check:fix":"biome check --write .","prebuild":"npm run clean","prepublishOnly":"NODE_ENV=production npm run build","start":"node dist/jt.js","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest","typecheck":"tsc --noEmit","release":"./scripts/release.sh"},"dependencies":{"chalk":"^5.6.2","commander":"^14.0.3","csv-parse":"^6.1.0","csv-stringify":"^6.6.0","js-yaml":"^4.1.1","jsonata":"^2.1.0"},"devDependencies":{"@biomejs/biome":"^2.4.9","@types/js-yaml":"^4.0.9","@types/node":"^22.19.13","@vitest/coverage-v8":"^4.0.18","esbuild":"^0.28.1","tsx":"^4.21.0","typescript":"^5.9.3","vitest":"^4.0.18"},"engines":{"node":">=22.0.0"},"publishConfig":{"access":"public"},"gitHead":"2979567da78557a9863aaad50af255d401c1fb58","_id":"@2017takeda/jt-cli@1.3.2","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-vu7Mw4Vj1KUJRNXAm8cYoX1B0wkSEWd8Rbd5QOglh+JlupzM8TTwaDFobbLVllOHe5qfOwp3Ds+hMATPpyESIA==","shasum":"cc38d209d02d91541baf3a922475b4fe712efe6d","tarball":"https://registry.npmjs.org/@2017takeda/jt-cli/-/jt-cli-1.3.2.tgz","fileCount":55,"unpackedSize":488152,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2017takeda%2fjt-cli@1.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDdxpKoln/CyiCW02kYxbFOlGosjyK0hpqHV1I7ikRxVAiEA9XhZKLe/aF0y7nzm6DKixKvgM5qITL4yVRRD98ny2sI="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bbfd4861-cc0d-48d4-b667-6005fc7e9026"}},"directories":{},"maintainers":[{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jt-cli_1.3.2_1785128591856_0.35585573857422137"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-10T10:47:53.123Z","modified":"2026-07-27T05:03:12.322Z","1.0.0":"2025-07-10T10:47:53.414Z","1.1.0":"2025-07-10T11:22:51.231Z","1.2.0":"2025-07-11T04:19:14.498Z","1.2.1":"2025-07-11T08:08:56.616Z","1.2.2":"2025-07-11T08:14:09.154Z","1.2.3":"2025-07-11T08:39:17.411Z","1.2.4":"2026-01-19T04:15:18.963Z","1.3.0":"2026-03-07T07:21:59.015Z","1.3.1":"2026-03-30T07:51:03.868Z","1.3.2":"2026-07-27T05:03:12.001Z"},"bugs":{"url":"https://github.com/TAKEDA-Takashi/jt-cli/issues"},"author":{"name":"TAKEDA Takashi"},"license":"MIT","homepage":"https://github.com/TAKEDA-Takashi/jt-cli#readme","keywords":["jsonata","json","query","transform","cli","yaml","csv"],"repository":{"type":"git","url":"git+https://github.com/TAKEDA-Takashi/jt-cli.git"},"description":"JSONata query and transformation tool for the command line","maintainers":[{"name":"2017takeda","email":"takeda.takashi0308@gmail.com"}],"readme":"# jt - JSONata Query Tool\n\n`jt` is a powerful command-line tool for querying and transforming JSON data using [JSONata](https://jsonata.org/), a lightweight query and transformation language for JSON.\n\n## Features\n\n- 🔍 Query JSON, YAML, CSV, and JSON Lines data using JSONata expressions\n- 🔄 Format conversion between JSON, YAML, JSON Lines, and CSV (no query required)\n- 📝 Multiple output formats: JSON (with compact option), JSON Lines, YAML, and CSV\n- 🚀 Fast and efficient processing with streaming support\n- 💡 User-friendly error messages with helpful suggestions\n- 📖 Support for both stdin and file input\n- 🎯 TypeScript implementation with full type safety\n\n## Installation\n\n### Using npm\n\n```bash\nnpm install -g @2017takeda/jt-cli\n```\n\n### Using Homebrew\n\n```bash\nbrew tap TAKEDA-Takashi/tap\nbrew install jt-cli\n```\n\n## Usage\n\n### Basic Usage\n\n```bash\n# Query from file\njt '<jsonata-expression>' input.json\n\n# Query from stdin\ncat data.json | jt '<jsonata-expression>'\n\n# With explicit input format\njt -i yaml '<jsonata-expression>' data.yaml\n\n# Format conversion without JSONata query (new!)\njt data.json -o yaml\ncat data.yaml | jt -c\n```\n\nThe JSONata expression is now optional. When omitted, `jt` acts as a format converter, parsing the input and outputting it in the specified format.\n\n### Examples\n\n#### Format Conversion (No Query)\n```bash\n# Convert JSON to YAML\njt data.json -o yaml\n\n# Convert YAML to JSON\njt config.yaml -o json\n\n# Convert JSON to compact format\ncat data.json | jt -c\n\n# Convert JSON Lines to YAML\njt events.jsonl -o yaml\n```\n\n#### Basic Query\n```bash\n# Extract all names from an array of objects\necho '[{\"name\": \"Alice\", \"age\": 30}, {\"name\": \"Bob\", \"age\": 25}]' | jt '$.name'\n# Output: [\"Alice\", \"Bob\"]\n```\n\n#### Filtering\n```bash\n# Filter objects where age > 25\necho '[{\"name\": \"Alice\", \"age\": 30}, {\"name\": \"Bob\", \"age\": 25}]' | jt '$[age > 25]'\n# Output: [{\"name\": \"Alice\", \"age\": 30}]\n```\n\n#### Transformation\n```bash\n# Transform data structure\necho '{\"users\": [{\"first\": \"John\", \"last\": \"Doe\"}]}' | jt 'users.{\"fullName\": first & \" \" & last}'\n# Output: [{\"fullName\": \"John Doe\"}]\n```\n\n#### Aggregation\n```bash\n# Sum all values\necho '[{\"value\": 10}, {\"value\": 20}, {\"value\": 30}]' | jt '$sum(value)'\n# Output: 60\n```\n\n### Input Formats\n\n`jt` supports multiple input formats:\n\n- **JSON** (default): Standard JSON format\n- **YAML**: YAML format (`-i yaml` or `--input yaml`)\n- **JSON Lines**: Newline-delimited JSON (`-i jsonl` or `--input jsonl`)\n- **CSV**: Comma-separated values with headers (`-i csv` or `--input csv`)\n\n```bash\n# YAML input\njt -i yaml '$.users.name' config.yaml\n\n# JSON Lines input\njt -i jsonl '$.event' events.jsonl\n\n# CSV input\njt -i csv '$[age > 25]' users.csv\n```\n\n### Output Formats\n\nControl output formatting with the `-o` or `--output` option:\n\n- **json** (default): Formatted JSON with indentation\n  - Use `-c` or `--compact` flag for minified JSON\n- **jsonl**: JSON Lines (one JSON per line)\n- **yaml**: YAML format\n- **csv**: CSV format (for tabular data)\n\n```bash\n# Compact JSON output\njt -c '$.users' data.json\n\n# YAML output\njt -o yaml '$.config' settings.json\n\n# CSV output (for arrays of objects)\njt -o csv '$' users.json\n```\n\n### Raw String Output\n\nUse the `-r` or `--raw-string` flag to output raw strings without quotes:\n\n```bash\n# Extract string value without quotes\necho '{\"name\": \"Alice\", \"age\": 30}' | jt -r '$.name'\n# Output: Alice (instead of \"Alice\")\n\n# Works with numbers and booleans too\necho '{\"count\": 42, \"active\": true}' | jt -r '$.count'\n# Output: 42 (as string)\n\n# Multiline strings are output with actual newlines\necho '{\"text\": \"Line 1\\nLine 2\"}' | jt -r '$.text'\n# Output:\n# Line 1\n# Line 2\n\n# Arrays and objects are still output as JSON\necho '{\"list\": [1, 2, 3]}' | jt -r '$.list'\n# Output: [1, 2, 3]\n```\n\nThis option is useful for:\n- Shell scripting where you need unquoted values\n- Extracting text content without JSON formatting\n- Similar to `jq -r` for those familiar with that tool\n\n### Advanced Features\n\n#### Using JSONata Functions\n```bash\n# String manipulation\necho '{\"name\": \"john doe\"}' | jt '{\"name\": $uppercase(name)}'\n# Output: {\"name\": \"JOHN DOE\"}\n\n# Date handling\necho '{\"date\": \"2023-12-01\"}' | jt '{\"year\": $substring(date, 0, 4)}'\n# Output: {\"year\": \"2023\"}\n```\n\n#### Complex Queries\n```bash\n# Group and aggregate\necho '[{\"dept\": \"sales\", \"salary\": 50000}, {\"dept\": \"sales\", \"salary\": 60000}]' | \\\n  jt 'dept{dept: $sum(salary)}'\n# Output: {\"sales\": 110000}\n```\n\n## JSONata Expression Language\n\nJSONata is a powerful query language designed specifically for JSON. Key features include:\n\n- Path expressions: `$.users[0].name`\n- Filtering: `$.users[age > 21]`\n- Mapping: `$.users.{\"fullName\": firstName & \" \" & lastName}`\n- Aggregation: `$sum($.items.price)`\n- Functions: `$uppercase()`, `$substring()`, `$now()`, etc.\n\nFor complete JSONata documentation, visit [jsonata.org](https://jsonata.org/).\n\n## Error Handling\n\n`jt` provides clear, actionable error messages:\n\n```bash\n# Invalid JSON input\necho '{invalid}' | jt '$'\n# Error: Invalid JSON input at position 1: Unexpected token 'i'\n\n# Invalid JSONata expression\necho '{}' | jt '$undefined('\n# Error: Invalid JSONata expression: Unexpected token '(' at position 11\n```\n\n### Machine-Readable Errors\n\nUse `--error-format json` to get structured error output, useful for AI agents and automation:\n\n```bash\necho 'invalid' | jt --error-format json '$'\n# {\"error\":{\"code\":\"INVALID_INPUT\",\"message\":\"Invalid JSON input\",\"detail\":\"...\",\"suggestion\":\"...\"}}\n```\n\n## AI Agent Integration\n\n`jt` supports AI agent tool discovery via the `--describe` option:\n\n```bash\njt --describe\n```\n\nThis outputs a JSON description of the tool's capabilities, options, and usage examples, enabling AI agents to automatically discover and use `jt` without manual documentation.\n\n## Development\n\n### Prerequisites\n\n- Node.js 22 or higher (Node.js 24 recommended)\n- npm\n- nvm (recommended for managing Node.js versions)\n\n### Setup\n\n```bash\n# Clone repository\ngit clone https://github.com/TAKEDA-Takashi/jt-cli.git\ncd jt-cli\n\n# Use the recommended Node.js version (if using nvm)\nnvm use  # This will use the version specified in .nvmrc (Node.js 24)\n\n# Install dependencies\nnpm install\n\n# Run tests\nnpm test\n\n# Build\nnpm run build\n```\n\n### Testing\n\nThis project follows Test-Driven Development (TDD) practices:\n\n```bash\n# Run all tests\nnpm test\n\n# Run tests in watch mode\nnpm run test:watch\n\n# Run with coverage\nnpm run test:coverage\n```\n\n## Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Write tests for your changes\n4. Implement your changes\n5. Ensure all tests pass\n6. Commit your changes (`git commit -m 'feat: add amazing feature'`)\n7. Push to the branch (`git push origin feature/amazing-feature`)\n8. Open a Pull Request\n\n### Code Ownership\n\nThis project uses [CODEOWNERS](.github/CODEOWNERS) to define responsibilities for different parts of the codebase. Code owners are automatically requested for review when pull requests modify files they own.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- [JSONata](https://jsonata.org/) - The powerful JSON query language\n- [Commander.js](https://github.com/tj/commander.js/) - CLI framework\n- [Biome](https://biomejs.dev/) - Fast formatter and linter\n\n## Support\n\n- 📝 [Report issues](https://github.com/TAKEDA-Takashi/jt-cli/issues)\n- 💬 [Discussions](https://github.com/TAKEDA-Takashi/jt-cli/discussions)\n- 📖 [Documentation](https://github.com/TAKEDA-Takashi/jt-cli/wiki)","readmeFilename":"README.md"}