{"_id":"@adobe-csc/jsonata-client","name":"@adobe-csc/jsonata-client","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@adobe-csc/jsonata-client","version":"0.0.1","description":"JSONata expression execution client for Adobe CSC projects","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","test":"vitest run test"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/OneAdobe/content-supply-chain-commons.git"},"keywords":["adobe","csc","jsonata","expression"],"author":{"name":"Marcel Boucher"},"license":"MIT","bugs":{"url":"https://github.com/OneAdobe/content-supply-chain-commons/issues"},"homepage":"https://github.com/OneAdobe/content-supply-chain-commons#readme","_id":"@adobe-csc/jsonata-client@0.0.1","gitHead":"67b13b06d2a9110729907cc8d68fb5c9b493548e","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-6cGs2XBVNg+U+Rxd3LTTsnfoE3Fzd3bFg6foYz6SookNcGGmNRfPdo75lQ60TX13AiOdezY0RwQg320Ta0Lkyg==","shasum":"a2d8cc2bb55b07c7567ea41ac1db71dcec81c29d","tarball":"https://registry.npmjs.org/@adobe-csc/jsonata-client/-/jsonata-client-0.0.1.tgz","fileCount":6,"unpackedSize":3078,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDmeid45xNMWE60eHy1p09SMzJ/iOLt2hJC3Qu8tGYJMgIhAOs47AGyBxTL4Qzt8+vqVMOuHxHMoKrk9+W8WlFdHljp"}]},"_npmUser":{"name":"mboucher-adobe","email":"mboucher@adobe.com"},"directories":{},"maintainers":[{"name":"whatwork","email":"wehopkin@adobe.com"},{"name":"gclement","email":"gclement@adobe.com"},{"name":"mboucher-adobe","email":"mboucher@adobe.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jsonata-client_0.0.1_1743881230347_0.00586993555318438"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-05T19:27:10.268Z","0.0.1":"2025-04-05T19:27:10.540Z","modified":"2025-04-05T19:27:10.832Z"},"maintainers":[{"name":"whatwork","email":"wehopkin@adobe.com"},{"name":"gclement","email":"gclement@adobe.com"},{"name":"mboucher-adobe","email":"mboucher@adobe.com"}],"description":"JSONata expression execution client for Adobe CSC projects","homepage":"https://github.com/OneAdobe/content-supply-chain-commons#readme","keywords":["adobe","csc","jsonata","expression"],"repository":{"type":"git","url":"git+https://github.com/OneAdobe/content-supply-chain-commons.git"},"author":{"name":"Marcel Boucher"},"bugs":{"url":"https://github.com/OneAdobe/content-supply-chain-commons/issues"},"license":"MIT","readme":"# Content Supply Chain Commons - JSONATA Client\n\nA flexible JSONATA client sdk.\n\n## Using this library\n\n- Install the package using `npm install @adobe-csc/jsonata-client`.\n\n### usage:\n\n```(typescript)\nimport { executeJsonataExpression } from \"@adobe-csc/jsonata-client\";\n\n/**\n* Returns text layers using {{name}} naming convention\n* @returns {Array<TextLayer>} Array of text layers found in the manifest\n*/\npublic async getVariableTextLayers(): Promise<Array<TextLayer>> {\n    const jsonataExpression = fs.readFileSync(\n        path.join(__dirname, \"expressions/getTextLayers.jsonata\"),\n        \"utf8\");\n    return executeJsonataExpression(jsonataExpression, this._manifest);\n}\n\n```\n\n## Local Development Setup\n\n- Clone the mono repo\n- Install the dependencies using `npm install`\n- Run the tests using `npm test`\n","readmeFilename":"README.md","_rev":"1-29ba0405a056601edefdd42645798f6f"}