{"_id":"nodehandler-dot","_rev":"79-84926e4113e942a7e6018418780b4f2c","name":"nodehandler-dot","dist-tags":{"next":"1.1.0-107","v4-next":"1.1.1-6","v4-preview1":"2.0.0-3","v4-preview2":"2.0.0-5","v4-preview3":"2.0.0-10","latest":"1.2.13","v3-latest":"1.2.13"},"versions":{"1.0.0":{"name":"nodehandler-dot","version":"1.0.0","keywords":["axway","apibuilder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENCE","_id":"nodehandler-dot@1.0.0","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"bugs":{"url":"https://axway.com"},"dist":{"shasum":"1a02e84d43635a5c2677c05a0554ccd9bd4d7c21","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.0.0.tgz","integrity":"sha512-F8JWMvM9/2ficQk5NOZJ5/4wcbxi1WFAL3XCOZPhXBCWUs/uzFtN/2mzR/fcLyDB9fk4hSYozZbCdlDrxl5NIQ==","signatures":[{"sig":"MEUCIQCfVkxXMIgrxYJUDFqinKmxFkKIwNBT24NaPe1G8MYxKQIgODF6nQDLCJhWalS+9YmylfhuDAHNHGZsUz8dgIsOY8M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":"nodehandler-dot-1.0.0.tgz","files":["dist","doT.png","README.md","LICENCE"],"_shasum":"1a02e84d43635a5c2677c05a0554ccd9bd4d7c21","scripts":{"test":"rimraf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary node_modules/mocha/bin/mocha --require babel-register ./test --recursive -R spec","build":"npm run build:dev && npm run security","security":"npm run security:retire && npm run security:nsp","build:dev":"npm run build:lint && npm run test && npm run build:dist","build:dist":"babel -d ./dist ./src","build:lint":"eslint .","test:debug":"mocha --require babel-register --inspect --debug-brk","release:npm":"curl -X GET http://registry.ecd.axway.int:8081/artifactory/local-npm/$npm_package_name/-/$npm_package_name-$npm_package_version.tgz 2>/dev/null > $npm_package_name-$npm_package_version.tgz && npm publish --registry  https://registry.npmjs.org ./$npm_package_name-$npm_package_version.tgz && rm ./$npm_package_name-$npm_package_version.tgz","security:nsp":"nsp check --output json > scan-nsp.json","release:major":"npm version major && npm run release:publish && git push --follow-tags","release:minor":"npm version minor && npm run release:publish && git push --follow-tags","release:patch":"npm version patch && npm run release:publish && git push --follow-tags","release:publish":"git add -A && git push && git push --tags && npm publish","security:retire":"retire --exitwith 0 --package --outputformat json --outputpath scan-retire.json","release:prerelease":"npm version prerelease && npm run release:publish && git push --follow-tags"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"_resolved":"file:nodehandler-dot-1.0.0.tgz","deprecated":"Support for API Builder 3.x will cease on 30th April 2020. Use the v3 to v4 upgrade guide (https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/api_builder_v3_to_v4_upgrade_guide.html) to migrate all your applications to API Builder 4.x.","_npmVersion":"4.5.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"7.9.0","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"^1.0.0"},"devDependencies":{"nsp":"^2.8.1","nyc":"^11.2.1","chai":"^4.1.2","mocha":"^4.0.0","eslint":"4.3.0","retire":"^1.4.0","rimraf":"^2.6.2","babel-cli":"^6.26.0","cross-env":"^5.0.5","babel-core":"^6.26.0","babel-eslint":"^8.0.1","babel-preset-env":"^1.6.0","eslint-plugin-mocha":"^4.11.0","eslint-plugin-import":"^2.7.0","eslint-config-axway-base":"^2.0.0-0"},"_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot-1.0.0.tgz_1510763667560_0.054420920787379146","host":"s3://npm-registry-packages"}},"1.1.0-101":{"name":"nodehandler-dot","version":"1.1.0-101","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.0-101","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"225618f65d613a4d153a1654aa0ddce86ebaa64a","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.0-101.tgz","integrity":"sha512-Vb4bRaOy/tkp1q/CLA7FDtMpcil19dR6B2z0rnqwCtN2VPdJVdtjGnWxRZ3ViJjTOyr9yJBFw8L+EGhlCf1dcA==","signatures":[{"sig":"MEUCIQCjl1rXdFs6ZD/ZKPQ907gnbybmLQdPn7OsJStvQ1laLAIgFBfEN1mkqVQzZzSjvXzqQLdjAmkXHfL0UjLMiab9GdQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"engines":{"node":">= 8"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.0-101"},"_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot-1.1.0-101.tgz_1517849252607_0.3466191808693111","host":"s3://npm-registry-packages"}},"1.1.0-102":{"name":"nodehandler-dot","version":"1.1.0-102","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.0-102","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"2d10fd690b03072bb81bded8aec01691e22a8ff2","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.0-102.tgz","fileCount":6,"integrity":"sha512-/TBZN+HJYWrCHQY5f3BYsCyi8ngnDZBHTg8pFq6m68KZeGdY8KFRauKf/xW9hiAD60k9JsxcNDTXAFb006/D2Q==","signatures":[{"sig":"MEUCIQDesRf91q35HBgrett6c8+foruGfbQgxgW+fcW6kLmDmQIgOBMxlAGn8m4Ca8QAKvF2lwtgIYCFHErK9Tru/kII310=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13282},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.0-102"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.0-102_1518531192609_0.06998674438125074","host":"s3://npm-registry-packages"}},"1.1.0-103":{"name":"nodehandler-dot","version":"1.1.0-103","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.0-103","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"280c7bffbe7d6438e2dfa6d5d0ebe29e955a2e82","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.0-103.tgz","fileCount":6,"integrity":"sha512-qWOE7IVzTJ4TxdMFJypHkcuuPglW+gOjJuNk7jOo0qzGrwhH/d+HrtSAX9fdQV7+JUFSJkObkIZQ6Zr/aH+TtA==","signatures":[{"sig":"MEUCIQCxTlz2hgHa3DNjOzQwlog/o2X6w8o1DU42ip+y7DhhsAIgej7uNlgW14y+JcZRQJFj/Pcytl/H2aZrxpueRTA9o8g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13282},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.0-103"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.0-103_1519063292814_0.48510958948178784","host":"s3://npm-registry-packages"}},"1.1.0-104":{"name":"nodehandler-dot","version":"1.1.0-104","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.0-104","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"8c1ea0cbf120a8b8a5a28bd88ece964bd176beec","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.0-104.tgz","fileCount":6,"integrity":"sha512-BTfM//4SH3doQHnYtekVKw1sStdufofsD08OGdy5zTVx62ernmkZ0kVunsuI9YWe+4id4P5K8dmX7DFpDPmF0A==","signatures":[{"sig":"MEYCIQCNDUfNvYm/UFnRoP3TsjsufuANBsfe2IfDr6IMBLI9hgIhALV0Kpa8DNuBYJL8w4pRmf05IDpAfmIoaxCtTo/5NtLP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13282},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.0-104"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.0-104_1519225998850_0.9657193467700051","host":"s3://npm-registry-packages"}},"1.1.0-105":{"name":"nodehandler-dot","version":"1.1.0-105","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.0-105","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"01f7087af189202645128ea53abd5e50e3370c3a","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.0-105.tgz","fileCount":6,"integrity":"sha512-f4OhF9Vl1KR2OfI6S/ANm+krQl16aZQ6JXNMG37f7dSHX4jYEclwNINoSg6mRXjgRWn+O5mkZxjks7wOOMkJKg==","signatures":[{"sig":"MEYCIQD9m2pb2FvZ76pfT/T1TomOSsOqORJpu6inlQtNapABsAIhAK2dtJNQ9ssfHHFQJlTFtU1WBxN6JNfzib40tBhBcXIY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13282},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.0-105"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.0-105_1519248555157_0.07300899138517525","host":"s3://npm-registry-packages"}},"1.1.0-106":{"name":"nodehandler-dot","version":"1.1.0-106","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.0-106","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"68719c282e6c54d7898ac5cdd9672d0d937261a4","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.0-106.tgz","fileCount":6,"integrity":"sha512-8SK9OJJBapNPp/5RpgJTVaEfVbThs3HhubHrLTmCE7soyVa/Hbfehi304yV9ifvT68BXOjTV2WR5xlfDKDtD2Q==","signatures":[{"sig":"MEYCIQDil1z/w4Q5aCY6EZ/QfKO8wxBX2QVTOkkUmDMuvqoUOgIhAOTEBsDjUi2Xhz3IIb2Vf2NZ0V2/QLMHOkYKPegIPG25","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13282},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.0-106"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.0-106_1519274310226_0.9201843206109486","host":"s3://npm-registry-packages"}},"1.1.0-107":{"name":"nodehandler-dot","version":"1.1.0-107","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.0-107","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"4990b29949130add3faa158edafcab3114886996","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.0-107.tgz","fileCount":6,"integrity":"sha512-pbox4RvaIjGk7GlUGyoxa/Kg2o6iixbUVGiUw0CrlFuAPoAdS/f4x1G9hHYaTX3xbO/KCVQROul8EcWITp2oEw==","signatures":[{"sig":"MEUCIQDnG63zLJ3K/yVT4eiV+S7+bvMrRADlnMWFlGgTd2fRfwIgZLMLk8vSa5L/poQGF1o69rvDqTdK5JGsqEkpFpc4fUw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13282},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.0-107"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.0-107_1519293095165_0.010930385952656607","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"nodehandler-dot","version":"1.1.0","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.0","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"e8df34bfa4c04e56fc6a503909b058c4bf0ff9eb","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.0.tgz","fileCount":6,"integrity":"sha512-ciMHxFJnHRqKf6Rd8mBxQLC+Dg12bhRAysOFGBnSc589wcM2JEsSVsbjfj0md3QCVcRWeiYBiWt9XvR5EiZqxA==","signatures":[{"sig":"MEYCIQDVNbxzynNN+Ia1jLBgAvl7dbEFR2QxBb1zYputuVhAWAIhAO6NrDO1IzUvJvEywEgZsFfXoKVtrFucR8WdKShniq0I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13275},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"deprecated":"Support for API Builder 3.x will cease on 30th April 2020. Use the v3 to v4 upgrade guide (https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/api_builder_v3_to_v4_upgrade_guide.html) to migrate all your applications to API Builder 4.x.","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"^1.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.0_1519323969274_0.6883191666947444","host":"s3://npm-registry-packages"}},"1.1.1-0":{"name":"nodehandler-dot","version":"1.1.1-0","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.1-0","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"6956fa104c19a5dde3998272aaccf9d3783e51c5","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.1-0.tgz","fileCount":6,"integrity":"sha512-iGJX98yTC4j79NpWdyhTi3pxN48lNiB5bpnZQWOHkzUrAwTYwK/08vvfWao1q7J0JkDChMNQ60kDHTmD067OWA==","signatures":[{"sig":"MEYCIQCu2PUXkIogA+xGYQ4SgjUItDz1Q2ZDPm2G7PYgUvs5kwIhAKFeG31vYedcUC3iP8h7HRmBjQbf2U80koJnSs6wZ1WN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13278},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.1-0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.1-0_1519823126891_0.05526226935394707","host":"s3://npm-registry-packages"}},"1.1.1-1":{"name":"nodehandler-dot","version":"1.1.1-1","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.1-1","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"67f889aee4260210a84ff8455b4e4d265f298828","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.1-1.tgz","fileCount":6,"integrity":"sha512-kf2pHDu5030IWNX2r/GOwlEVTljXlsF3U8VAAoaPd0zlK8eE91kraB+s1u8aMWcCn9D2AMR37JUiesYBOoBCZA==","signatures":[{"sig":"MEUCIQDJafAxHclDlIzb/tvI0kqfXWN1EA7/pyDFxkmvzwcs0wIgO2JeIij3jRCzxmoWc9xOBwHdvOCFiqzC8GUCGBOmgNw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13278},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.1-1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.1-1_1519850647047_0.4104151691384226","host":"s3://npm-registry-packages"}},"1.1.1-2":{"name":"nodehandler-dot","version":"1.1.1-2","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.1-2","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"2bdd37ce96d9f6426561332807ec53ca82203b17","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.1-2.tgz","fileCount":6,"integrity":"sha512-qON50AMzYE73Y7jpjQqwjEBZehuoUkBST3GgzrosGbHBgsflExGiEYTCCJPEVVq7LSRLaQzckeKVM/LI2W/a1g==","signatures":[{"sig":"MEUCIQCe2BJZL66mJSW53D8nkCq/c63ooMtLm8kZOx/cjjgYoQIgW3eVwLRci9Z/GKe7UXHujZ3KN8WC3zKQyMgfAgQ22RE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13278},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.1-2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.1-2_1519851586355_0.4164565327482952","host":"s3://npm-registry-packages"}},"1.1.1-3":{"name":"nodehandler-dot","version":"1.1.1-3","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.1-3","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"7d7c911ac08109fcf825c706f1a6820ca790f1f2","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.1-3.tgz","fileCount":6,"integrity":"sha512-iugDay9Kds75GhBPPs4jmXKRWw/cXExqo6V98g5rm8KqHkeXBRn3iCSodYrQpz6VaZc0xLocD8FvGHlbOFYGjA==","signatures":[{"sig":"MEQCIDTIryL/5EOyC32V9DzPB8ohBZaU52BkIeiv2Pj6ymLFAiBK7wow4SRatdd7NAwUW/OZTNhl7JHHInsnEvRx+QLGiQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13288},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.1-3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.1-3_1521553958478_0.12990542229815571","host":"s3://npm-registry-packages"}},"1.1.1-4":{"name":"nodehandler-dot","version":"1.1.1-4","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.1-4","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"88d2fc1480f50c9fcb91f85c971fb74d8a6cb11f","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.1-4.tgz","fileCount":6,"integrity":"sha512-0oqR6lyem4jKYipZc4pHL9Z6fvbnKED6coWK8SbnbvxxXyyMYFTwILMa8VyZWXJjB6G8Y/2g3CNHh/bxWNl9OQ==","signatures":[{"sig":"MEUCIFvf0aqVzlveElEQDmuCJmoFIdwvAOF1ik3pbGOg4EvgAiEA1YwVZ/F3Jaer6iHH476KXMD1gqHkBTEjmd5f4jJ+9Gc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13288},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.1-4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.1-4_1521635856262_0.7737341873989945","host":"s3://npm-registry-packages"}},"1.1.1-5":{"name":"nodehandler-dot","version":"1.1.1-5","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.1-5","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"bba1f14d80657c36bf5cbb5f43ef1c8fcc1a9f61","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.1-5.tgz","fileCount":6,"integrity":"sha512-w/GQ1jwrU+0AIoJbdeEEpvSqO3NTHgNuDnmPM8k6guUaw4Rs2vdhqcxykmRIpfLtik5bpBMw8nhUsCxnYTsYfA==","signatures":[{"sig":"MEYCIQDF/mznTDRWsKFR8h+f+1jH4jlqMwCFe1UTE9Ws2Ebq5QIhAOb3kvrurWopZCTEF1IxnO7h48E4I1eu8/pr1aUa1S3n","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13288},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.1-5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.1-5_1521841637656_0.29998073969366734","host":"s3://npm-registry-packages"}},"1.1.1-6":{"name":"nodehandler-dot","version":"1.1.1-6","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.1-6","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"7d222c43bdfb8339fc21931c6b7724fb76afbc7b","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.1-6.tgz","fileCount":6,"integrity":"sha512-kfCOGYuSeia1D188awieheW3PlLi9Jc49D/vDBXMUldDDbrZyfMUmjw8MG5A/WUySOnJ91njjXTQv9VbbVG7ZQ==","signatures":[{"sig":"MEUCICXHT6KRnKuTRQg68rNHPenTzvWAMIPY5R7iNJj8hFHeAiEAorQz3/37xVUFOTktZTwXLisobgLAFivNsKKZ5uwk7xo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13288},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.1-6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.1-6_1522157647160_0.586310890788345","host":"s3://npm-registry-packages"}},"1.1.1-7":{"name":"nodehandler-dot","version":"1.1.1-7","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.1-7","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"c07b6214e21ed542a61b971cf65db5bc3b932583","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.1-7.tgz","fileCount":6,"integrity":"sha512-rQ1UYXGU40D1PiR8iIXYYp/dFQVqw3QhO8Rh/+V9bgkoV78EX9TTuGKgT7auOPLAc1GyX5lZHJClyrSgszO+ng==","signatures":[{"sig":"MEQCIDJWAr+D0EvZtIZZIRduKeux5zFeiGuLwyi8uYSAQix4AiBPATQVnlzTCGFRME0Q3q7WmvgEp4z5FVyVXWNXMdmKXg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13288},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.1-7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.1-7_1523455245384_0.1211439814272044","host":"s3://npm-registry-packages"}},"1.1.1-8":{"name":"nodehandler-dot","version":"1.1.1-8","keywords":["amplify","api-builder","axway","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.1.1-8","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"e3fdc77cdd65bc0b3707b84d85198ef6d71fb74a","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.1-8.tgz","fileCount":6,"integrity":"sha512-PxkFq4SAq2OaeKTKbEc+ppbX06quoQtCuS4Qyz0iFLBlKq07GmiBPXIzfxwS+c37+BCE/qLA48BBgd28XpBitg==","signatures":[{"sig":"MEUCIQDOWQKkFCQoUEeebpPh3NwUmYBcEwn1z29d4xq9elHSJAIgIq0uyUl2doeV7qMFCVTq3oBIgMi+uGvnouGubVR+qdI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13299},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.1.1-8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.1-8_1523458232817_0.3054590706116469","host":"s3://npm-registry-packages"}},"2.0.0-1":{"name":"nodehandler-dot","version":"2.0.0-1","keywords":["amplify","api-builder","axway","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@2.0.0-1","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"727003f2c66dff31c0d3c04a4a2fa962566b5a49","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-2.0.0-1.tgz","fileCount":6,"integrity":"sha512-zFAwCWUxtGELjhOWdLFAMssiSovfh3jo4+cUEgtLRdsrutHX+3sl6NwUaYcF6nGJZ06PDFGkbjM3xKpxg3qaYw==","signatures":[{"sig":"MEUCIQCKhU5VRrYsbA+nJWz68mXVAcmPWsEYjN/Y1oZkUU6oDAIgR2Md0pPS5S9LZhro+IejxfrtO3lq+kdyIRB2TsS+cME=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13299},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"2.0.0-1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_2.0.0-1_1523531996492_0.8815453169864207","host":"s3://npm-registry-packages"}},"2.0.0-2":{"name":"nodehandler-dot","version":"2.0.0-2","keywords":["amplify","api-builder","axway","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@2.0.0-2","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"4e10cf1176e264f3ad9221b05d6eb4d9891e8cb2","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-2.0.0-2.tgz","fileCount":6,"integrity":"sha512-gO0Yb4pNPGdYWEsqWn2TGLAE+vnb11L5y7piiqEj6qwuRHaWm4l+WwLX4gPTQB4YnWwdvgn1VilJomD+pA4OzA==","signatures":[{"sig":"MEQCIClmIDouUDTRnGQA90DpA6a0eSio4fkHCI/oaRRdzGiYAiBrAz8ePJOCCoK5frm++4V7JC+6j35SYirQH7HweF47lg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13299},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"2.0.0-2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_2.0.0-2_1523623721187_0.39507686234904993","host":"s3://npm-registry-packages"}},"2.0.0-3":{"name":"nodehandler-dot","version":"2.0.0-3","keywords":["amplify","api-builder","axway","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@2.0.0-3","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"7c10857b1271b0bb21818a1ef68b3728e57a59bb","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-2.0.0-3.tgz","fileCount":6,"integrity":"sha512-mTqyoKvumcbxpBCBQdRjvaGZy/9HijjBOEfnGe7od589TC2sHjg3WpQQrC/VQfUdFYpZDCl3ewvmqtLyzjwhyQ==","signatures":[{"sig":"MEUCIHndkNiRgaAZ5YbbtRpyBPBYHAFWTIrPMSCxMw16zJr2AiEArE1TQYaU5UnqFBivhzSuMjXElOXCNE2UhyZHf/Xv5MY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13299},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"2.0.0-3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_2.0.0-3_1523633383557_0.1443914940257498","host":"s3://npm-registry-packages"}},"2.0.0-4":{"name":"nodehandler-dot","version":"2.0.0-4","keywords":["amplify","api-builder","axway","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@2.0.0-4","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"859360f793156334c0b63c1774dcfcfeceb417c9","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-2.0.0-4.tgz","fileCount":6,"integrity":"sha512-FLOyXX558LteGMxVAwQhAVK1oRi9iCgA1FBulIHlmBNO8zcsYCrqIJgpWE9JEt0b4NDZSxCQji20ILakQBfl1w==","signatures":[{"sig":"MEQCIH8rq3sISyIVYjg85ogX8gVksGA/NAWUtZ2XxtNVXR7QAiBLrFO/b5GrkOXdiAtTIG8RqtDwIPIO012wPyFTcaqm7g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13299},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"2.0.0-4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_2.0.0-4_1523635019431_0.6092745011094189","host":"s3://npm-registry-packages"}},"2.0.0-5":{"name":"nodehandler-dot","version":"2.0.0-5","keywords":["amplify","api-builder","axway","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@2.0.0-5","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"5031ccff67eb40c8e88c656ea2e8139c1261b8df","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-2.0.0-5.tgz","fileCount":6,"integrity":"sha512-4IDI+krQA/fW4cjpuZSrHgo0sHWZ5vufhYWr+K4rjX7jXc87+v5Pqo6xF9n6wO2d9nXx/Q0WvdCWLB0ePa5G1Q==","signatures":[{"sig":"MEYCIQCU9oILbstuxbSOerj3rPVT5ZbXzG31MprZm7DpM3QYKgIhAMD0cexB1WDxLuDGLgenFM/K3R86Pqspmc+IKMxIlNK9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4LJYCRA9TVsSAnZWagAAx6sP/0zMnzTEPOcZNvcO4+li\n5jRH7VumbvMm+Uu/2fPNIRCqMAFbmVyOxV1IxfSkFA/zNek80m1yqFs1Jv/n\nRweL+SGTEa6DBq+HGJLeBEnVbaER1WvjZLVOCzCFrA/G/sNq2mVWMSDvvQMF\n1fli6Xgte34RV3Sc5T1FYS928jxJkJJlb/3476/LD+/yB2VaZVAma9NsggI0\na6OHbfsDrqm0GlMtCUQ+2IwP0wID5Cg8+I+3FIHFSOpbWlx/GF0yuWGhxw3u\nzn7XOi/EzarOrav3CGPbCZP+dYEF41vd1ELe6aMmuGK+Zk7pMUoSJsbe4vEr\nw0DV1tzA7I7zZPfAwyHN5d8JndJX2HiZWrZ6aO4uewfioqlq2tuRJkH0618m\n/VPo6WcAQduPtYFIoAw5CxRa+7h4iB3lARM+DpxSXO6OVH4r2hgw7IsQpaxk\nyDX51/oJpUnZhgT/5c9+bRl7EzXc1Ndkl3FJPZ+DoXbQRgSL+Ug/X6bNyEnS\n9N7N8seGEGH2wdz5iXti3t9BNzwG20v7eXNVzCAoXavXrXrSFeYudXL9Afxa\nrBXuHQSWHdPgsuFB7vfEq2rxDzxNlnKsboOdaaYXq6c9Lwd+fE911vBN3cI5\nqwrn2D1BcvkAw+oJFE4E99Duz2Bmy33g/gM75EOaeLSIrnqyHIyvdlaVw1Mb\nYWTB\r\n=UBPE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"2.0.0-5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_2.0.0-5_1524675159662_0.3956667310574833","host":"s3://npm-registry-packages"}},"2.0.0-6":{"name":"nodehandler-dot","version":"2.0.0-6","keywords":["amplify","api-builder","axway","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@2.0.0-6","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"64c56d1d1292bca08e1e53e1b967fd867d7666fc","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-2.0.0-6.tgz","fileCount":6,"integrity":"sha512-MLKEj2sYQf9O3vmbPMUFGfwJSfXOvjYtCTRjfAVy5+Ktcdb8ceIqms+z31ezSgSkKBqHVqaq3Xy1qjdEe6rjfA==","signatures":[{"sig":"MEUCICGogLZh6ooE5luYTkmVEsPM7ZvdHMSxXSCRZ37lMrjxAiEAqnNsH3IevvOY3Gkn2fDyiE9Kq9jdzylamMmEqjIuFQs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4dWlCRA9TVsSAnZWagAANSgQAIy6UgxVdZ3bFEwsgZe2\nTAZcSEmCz+qONS1/96zDA5IPzkdX9eK2CR3UlJJEZE+XIIGB7yY+U+VBCPjx\nlyStiZ5yUZY1wJjhxfS2PF1uu9+5qe7bHgaonNJ6QQozKAkrgfP4ashRuivt\n4BZisYRx0i/t8wnYJShps9IZ2rml2XdB2gTn/yOaQhXdWZe/3vMd4MPRXSBF\nSML6QDqpP/2M5UV9ntdZNcOes+i4m0+oQ7wBHf9X02MQthBiCyeWBI1pr5fk\nGxQUaZnmOoHFTlgqiUK/UWwMRhq26Iao3UYOd4wtcPx+6J24JI+5HwPTCfIc\nRXO1M3rvvUkBu3Y6EeCqc1XgtfRp8eJo+Aq8QGZ5QVc6B5kQ+7e43lXvb1uM\nrvEuXH5QSh1dTrqGe9WuPQ1he2Vf0eG1fyULeR6Wc3khduh5ZRoSJZDdRwAv\n1bwVCMaF6fVmSrjt8oMO5xg7S983tDDWC1FCbJGmLGFRhe4YTRXLtCucVLrj\n7BMjCu66TVloy2tSXc8UFpbL1mKxJ2SNmqGvPpeHPtZzyNiDgm99X1EBEZz8\nU2GTaBmabRmDvWx/nnRrtjev9e4mrhkM400pqacOCcEbG/dkQkCYdQ0AQXTH\no8UKb4Aw1SHUhJwXzl06OKjr7DC6n7ukMtkEzvBzAv5ufnLyEF8hilO7Bedp\nHoNv\r\n=pILW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"2.0.0-6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_2.0.0-6_1524749732296_0.15657143055628797","host":"s3://npm-registry-packages"}},"2.0.0-7":{"name":"nodehandler-dot","version":"2.0.0-7","keywords":["amplify","api-builder","axway","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@2.0.0-7","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"74a7188beaa6d9d215648a6f930fa7204c626b71","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-2.0.0-7.tgz","fileCount":6,"integrity":"sha512-kR/utzM/Ml0OENE86yQLdfx0N03y+7K01ma5YZpgNY9PjnvbuJFlqgYe645pakbuWVL2m3uIzNqsXNhn8pYIcw==","signatures":[{"sig":"MEUCIEhgGqGQETSKaSIk+d52P60dDVQBhLcLMySsfoORSsXFAiEAgT4BYLxugB1kEWLByD7wQ6zv9A/0j3iY4s+vIxYDGDI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9AkeCRA9TVsSAnZWagAAjtIQAKKKEH7QZguRoUtgOQq8\nx+Hb/tNlqeIjHZKXM4CL6nCkd64SkHfH5EiLVJHwaeqrHG5PIvF2mu9Dfbm/\n8efnyRN89/hkHdUKQEoTVXJHc2Hr2DHIkW3Ye2pfznNGD4S3rR/Fq8+FiMIr\nZkxKBKioRO/sUwDumT0xZmICVjDuzvFYzNKbnPbB3pepkKfpIze/cdrELN6k\nbyUnDdYRFDaUHKaWLcyW1RrThwyCbVvkx5hM+xZmo2STz1byavkpRhyY9tLk\n70B7slNMWSs4Y5ySXfkC9FNsjuw5Uah3D7/8fdSoqXvpLSS7pcp9Wvk7ItqA\nwXr/bhlcTiT/SMPPIE38gdzSq1UOzM7vyOHABvtMGAFL9d6cJpC9iKd8TXZ3\nNAJvc6WA5TCRKQ7FNy4SHIRrBhxLx6dcxxJXd4nVQ1YUA6DI2fswHqDBE5gt\nsoqIgfzMuudVOY3v2FfxJyuZp61kgfOs0TxQ6mg7G1tdrMxcYRXpNkChUrfM\nV1TsEw7bnLIC69/fD7RH1ZdTkgZ7WMp8mTkrOhNIGnqRC2EcDcMUR6ObkCqr\niLBYI0EA4Mr1GINSHVHpdCGjx0G3Vrgo9JvgOpN6FDlHD3cJq83VxQ+xtgHa\nWcUWhOs5smErzsGqHZYGcP3Wa0BKMih5tgSEbMTTpc+uum6+kiNPQYxuW2vN\n8hgC\r\n=npDa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"2.0.0-7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_2.0.0-7_1525942557585_0.6650354190515857","host":"s3://npm-registry-packages"}},"2.0.0-8":{"name":"nodehandler-dot","version":"2.0.0-8","keywords":["amplify","api-builder","axway","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@2.0.0-8","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"a81da9aa4763cd20fa60a93d3a92b10db74f3322","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-2.0.0-8.tgz","fileCount":6,"integrity":"sha512-Vgeh2dC6RQ2XJb2R7kEl6mtCL7zyVuWI6jzVb3DeDJq8CnkOhfboZkPrJYVnEy/JdYMwaWBGTpnLs3pKEoJosQ==","signatures":[{"sig":"MEUCIQD/iiDriPOHY1cuKBcqZgJzkuR7qy27miSFdXvr1VvfhgIgdiwUyTn+ja2Wi0MH0HaRpDSbXJhpGm7Eh1ipj9zMK9w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBUExCRA9TVsSAnZWagAAggEP/1kSaZhxuXgkCw+YnHOW\n/QWPZ8SUwsmcdvhD3hTcSGvKspoMSsydvWKJRuhLjX4hvANI+EiAxFvhIvvT\n0Es7dJpzSANZ2AtaSUS4NfzC8nVPQgMGJFtdv8L4zhNAmGPfMZSYJVwzux+V\nObhhqFXNioLaT4v7PpuvviUn30pUDTJ4nfNv3Uar59kDf3nOM+IgaKLuhcey\nKbYlqyWZ9zonm3Dff2ppamxA92DchfEALkYDxJmFP3jYPNj9z/hyeeBRvB7X\n1SWLv+GJpDNZkKCvGOQJ+ax1YWtZv1tPpMlL+/wsWomtJ382bS+lWa54ymyF\nDBfEfnLJAwiYXORMhESglNsuX7U45a2fekrksCwhx4aqdHyyVQxg00ya/VRH\nsW6Yv6k5tei4hZtblInj+cUtyzsU8GhS/3EsRb36FX/F+J/j84yQ1WgvYFT3\nx3vUZWb4C7EOGbJnPMPQX57rrKjy2064ABjLAk9bxQTwJlWQqASG5IEeXgLk\n8AbPIQp62RmCEdZAlUem8XXgVKfYuJGlGN0pR19AUHaq8e5BH8j2kcNaOIPB\n52GT2hB2MYHNQG44+4HJ+2s4kXrJRbFMmiPwNYbrkgTfwv6qbstl6cY1oLY3\ns7f6IJCZUdL6TpKfbmhTjyGopbFId4dPgXJFrb6go/br6kZLr5kFTmhOHTXP\nVeJl\r\n=MkNF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"2.0.0-8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_2.0.0-8_1527071024781_0.9151316577152266","host":"s3://npm-registry-packages"}},"2.0.0-9":{"name":"nodehandler-dot","version":"2.0.0-9","keywords":["amplify","api-builder","axway","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@2.0.0-9","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"febc9e05aba8d89722274e212388955c747523d7","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-2.0.0-9.tgz","fileCount":6,"integrity":"sha512-uHSo8uZoXWHwIgqM97Y7HxUiif+Y9sSxN0ddmhrHTuAJnrLKUVNOqur47IlQ405+VAtS+fYGU6XKM/3hGVrmNg==","signatures":[{"sig":"MEUCIExXOTUp7pDfJgyeMLkMXvnhasdLryqs75upUMygyDeDAiEA19zL5B+WhsIsyc+bmYUHnDtsqNLmsSpYnxYZptz1y44=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBv36CRA9TVsSAnZWagAAaqUP/3KbMRzauUa69BlXCKeO\nt8uDk3Ec3qiIpDltQPPhx3JEk5hZYI+xFzFZXWYlvQqAQCIbSHHfzDhzk3tS\nM08k4tY0LQmyoBaFWVpjlHprdkyMp5LDMEeQ5+CiW0nvf22DVKhfCAWyvzrh\nENgowAITdCL3JV8R6jnkOnQy95DUs6k0ylaxtge1PKvNQgG5mD4WojGPTxV9\nq3fyo5hivdRbGteUdsa3mR8ODcGIeINBj4zjUa9AIlWblNiwfoY0xkDToV6R\nPN/4QeiCBvHU5Xwf5qCL/exsBgY6qbhdULPiBU/YMoi49vFrdCw3jQiPfWgC\nTo9lyS983BI75sTv0HYzIyKJgVVO+357D102lQK1ZX4eKpDC54IjigsQj+Gt\nBmFaj0B00xNQARvwUZp3NlOuPLCkPdHBHHbEJYA35aRtl0z3PQHTE+zAcxEP\nnlwdoC9y3WTWA1TnccKotFVJsxDjgNua4mFq7L0+05tm8FEQzAWILGQYeiEJ\nErWhy3pGRpxdPd9335Wkiiwza4edAHgt7tgjf0+roMJbGP5BvwGELdIdxMwb\n3g5Uk00L03O6W0PqIjsB+5CvqbeO+tzayUBx1KUbPf8zHZOAduGIvG02Ovom\n29uP0b/ZMUCCmPou84sUqGD1frJBTJhRlW1ooes9qiqhQm1AAIen3FlfzWRF\n3hqj\r\n=f7wp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"2.0.0-9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_2.0.0-9_1527184890549_0.10065241712246631","host":"s3://npm-registry-packages"}},"2.0.0-10":{"name":"nodehandler-dot","version":"2.0.0-10","keywords":["amplify","api-builder","axway","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@2.0.0-10","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"036909caafd571c7be6fb1f07fc6848f44a40f87","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-2.0.0-10.tgz","fileCount":6,"integrity":"sha512-RWQgEBunSTnuPh7pBA7Op39dD4viBxBoKvl5r+esKNDWFJCSI0vSyMqdCy+uSmRmt9qBRL2T7EsHscjSqxslPQ==","signatures":[{"sig":"MEQCIGO6tre+cwWFTXbBsfWpU5De3z1k9XL55FZVU3ffcHEYAiATsSYDa9vWLEgXCDl+tBiXwZp+Goxt83wOHBTf+V8/4A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCDTOCRA9TVsSAnZWagAAZVUQAJHNhlR+EgAa9XFi+mUD\ncx8/viU9C8BVWy7P7PpznI3RwHwtESz0DvSA6zszKWxISmqsj1bHDzmNBiJV\nXHOfsoizNIrMNUbaK+xoONWh8q4OoBLR54sPIsNRzQA1hpIS9/3xVZTje1BY\nfpXy0bmYvFUtAssfRlxIr4OKun76xNc2s7HRk67HzJiO+5gyYV0J9IlQwl4v\n4gXzppeKz0qK8Z3UrtgEzgmdxpz66loxh1BtLdtOEIUW3it2Z+0exHm4JQDY\nNNVFUTqvlp+B494mCrXNIB2MaJJZHTocqr0GRwrsbYUyPZRcjC15DnVgQQHg\n9NrPAccLCpXgy6HsDD8K4K2A/J/00bsqIei44OpyMFUqaG/MVwBifBWfg6Wt\nnoZirlgyJSAUCD/glmh7iXKLrvv42Vwqis+/NlytHgZa1vsvTaAnSw3k/rMh\n7bTZAnsgn2T7u1Xt4/yhd14YiscUG47BJabD3QrcBexhQKlzyh7qHj5KRyQw\nMFGom76O+gNjhdFb4IrfFtd+GIbIFpjEgnd5YPh4pqf2SsJVEd276q6EE9de\nqxnhPjjqOTy8j54Mm8qSarEKYirZt5mgg4ti4L1n+a70vYYP8hYIIVpXz0uc\nqP49oZPAWSgrJ1OvcN/XpliMaJTtYDxYWrc2EtDVTGJQGWCnVpJlmFnked9K\nHtK8\r\n=Irw6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","files":["src","doT.png","README.md","LICENSE"],"readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies.  Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions).  Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha  --colors ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"5.6.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.9.4","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"2.0.0-10"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_2.0.0-10_1527264462341_0.4484420785276768","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"nodehandler-dot","version":"1.1.1","keywords":["axway","apibuilder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENCE","_id":"nodehandler-dot@1.1.1","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"bugs":{"url":"https://axway.com"},"dist":{"shasum":"5c9f9f664140c84e2e8821fcd533d5921b2d8884","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.1.1.tgz","fileCount":6,"integrity":"sha512-X1J+giQ64KUz7oc+4aZmT+k1cVXYJqFGBrNIllFx2e8LOrEma6K77FjYZupQnPemRE0mq42sbdFOJQ2dY8Kpmw==","signatures":[{"sig":"MEUCIHzpMPWWbSnB7lx4mzl4O6ewwPKd4p6ltL9PnlDERwDiAiEA6wvFMeQwsliNxSuH+ixHIADwjx/Fx/PUwnuwvwDthv8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJ8WjCRA9TVsSAnZWagAAhigP/1CFqKCi/mIptDqI7bYh\n1ylrWpoKwNKjCtCNIwFpM/AGB7mhtiQOfApf+dZLKEhvc3RrhI5oEDNlmt99\neCYUshhnt0cLLG80FCxyoUsO29abhdbMs1Pz+mMNCdEEIvEvCP+GeM9mYVb9\nt01iXx9UOhy7mdLtvnYdG3X+MfYy1p0wTKY1vxd9LwkLsackPQ1c7387pQHl\nPGIO64/vri65XeWXnEmFRawL8UCqsa+rysnxm6IAS+6/+FLa6zFuLvmADDZ0\nDYk7jZIcZDGWhxaMinkvrYY72bjHsOZdcf9Bzhhi/K17t/Spttjny/uaOGAw\n4kL6/EscIo7NqX67Lag/UxqQeM4tu9igZ5aIf0ZZ257IKkM8hRc2mw81IPVJ\n9bsZxDijVqPwdeckKoapqxKJ606Hpv2yBmRsKKYdd5AfCsMUotTuv7qWw/6k\nGGh9JBGXvQtBNT6E60X2D+Wh1sbof58E17bYbfa9YsX8eXAcNvrXv05lbtNA\npubnJXjD6kqTmM+dHpnVDAnhvd6fr3i+sWU8xCoHEqFolCp8e3+Shu8sozix\nIqcmLdOqhBjmemv9mU0uzunWiN9OsIKhz3zayYlvaNFY1tIhMu3I6lxxBR0c\n+yCN6x5+7QAWMEa9Hqbq6TGlcI3Iag53nDUbLU7zDhpppc42kamDfnTS/WDx\nGbxG\r\n=LLEu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","files":["dist","doT.png","README.md","LICENCE"],"scripts":{"test":"rimraf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary node_modules/mocha/bin/mocha --require babel-register ./test --recursive -R spec","build":"npm run build:dev && npm run security","security":"npm run security:retire && npm run security:nsp","build:dev":"npm run build:lint && npm run test && npm run build:dist","build:dist":"babel -d ./dist ./src","build:lint":"eslint .","test:debug":"mocha --require babel-register --inspect --debug-brk","release:npm":"curl -X GET http://registry.ecd.axway.int:8081/artifactory/local-npm/$npm_package_name/-/$npm_package_name-$npm_package_version.tgz 2>/dev/null > $npm_package_name-$npm_package_version.tgz && npm publish --registry  https://registry.npmjs.org ./$npm_package_name-$npm_package_version.tgz && rm ./$npm_package_name-$npm_package_version.tgz","security:nsp":"nsp check --output json > scan-nsp.json","release:major":"npm version major && npm run release:publish && git push --follow-tags","release:minor":"npm version minor && npm run release:publish && git push --follow-tags","release:patch":"npm version patch && npm run release:publish && git push --follow-tags","release:publish":"git add -A && git push && git push --tags && npm publish","security:retire":"retire --exitwith 0 --package --outputformat json --outputpath scan-retire.json","release:prerelease":"npm version prerelease && npm run release:publish && git push --follow-tags"},"_npmUser":{"name":"axway","email":"builder11@axway.com"},"deprecated":"Support for API Builder 3.x will cease on 30th April 2020. Use the v3 to v4 upgrade guide (https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/api_builder_v3_to_v4_upgrade_guide.html) to migrate all your applications to API Builder 4.x.","_npmVersion":"6.0.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"10.0.0","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"nsp":"^2.8.1","nyc":"^11.2.1","chai":"^4.1.2","mocha":"^4.0.0","eslint":"4.3.0","retire":"^1.4.0","rimraf":"^2.6.2","babel-cli":"^6.26.0","cross-env":"^5.0.5","babel-core":"^6.26.0","babel-eslint":"^8.0.1","babel-preset-env":"^1.6.0","eslint-plugin-mocha":"^4.11.0","eslint-plugin-import":"^2.7.0","eslint-config-axway-base":"^2.0.0-0"},"_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.1.1_1529333154626_0.42227568478771316","host":"s3://npm-registry-packages"}},"1.2.4":{"name":"nodehandler-dot","version":"1.2.4","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.2.4","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"d7062ed382f9ae536d12a00e19a3b25f9c1f4d26","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.2.4.tgz","fileCount":6,"integrity":"sha512-1VAEaSSaUAULsf7fAnpe4sj8RZu3veYFWO+P8rayz/vE4RRAKqhuvdz7HfY2XjZE3QTM8YIWC0om/2IFc5zt2A==","signatures":[{"sig":"MEQCIEq3hNkuoq1jjLslgWKQumJku9NA8Tr6zX3sB4uZr7faAiAwm4w20QcLPmhG+wUXOOhvEPe7AIfM5HWmSZ4YnKpTMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0eokCRA9TVsSAnZWagAAt24P/32B79QPX3MGNCtpeF0A\n4H+WSKnC/qq3c2kd1R1wE0fN9BcW8lbOyEeIdOPpwhMJw03S5D2ei2zQpbMl\ny7HIn1aiig43q53V50ZcXZejS4wlEnYvg49tGFke3WMQXlBmrVqDq+YzNxXc\nfOfoAh+j2CQR+jQjYaXMEKxfui0QfTJJjyuxtgvHkVudoFQg3uE8pUaY2hSs\nG/ZO1L5mQjMgmkRl6j8770PH5pjo9czA3uliNZROQh2ZyavS2OKI6PhJxZyb\nrjUoDPL0fnslTRiq/MpmQEkyi1OQPB27Sf2mPGHMNC4DG8gSQuQXcExw2zcN\nqOt7cf8R+6foRQ/dH/IjpiN/7x3Qpw6GlIJNugwwOZLLI1U4LAoq2emEw6mE\nlI1kqP8a2BJISjVr3FVQYl5wHe2xqlpTmmH7lyw1ioAgVT7JXlVC1Em+aHfz\nI9hPNDYB9q8LRJ2jcTf/I0LvXvUNWHTDQD9CbtMw3UHC9AxquOdAmSPjkYS2\nOwX9VNFuXd50QkBFXs1cuP5gS2DbQsS47n/WUQrOQbS91G4F9peeq9mYucE1\nIVweSoJAeirPziT+wgrqdumM/6ha41giWOJCt6zIimiINpFkLGA6IvtWKJZo\nByYY3NbuxmBAuVLXgFjYmG8by5uT2fQTRG6sQIr7eXslETSPKqbPwhDdv8jv\ntZ3s\r\n=yHd9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:published/nodehandler-dot@1.2.4.tgz","readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test && npm run build:dist","build:dist":"babel -d ./dist ./src","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},"_resolved":"","_integrity":"","deprecated":"Support for API Builder 3.x will cease on 30th April 2020. Use the v3 to v4 upgrade guide (https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/api_builder_v3_to_v4_upgrade_guide.html) to migrate all your applications to API Builder 4.x.","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"6.4.1","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.11.1","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.2.4_1540483620094_0.13999789797818996","host":"s3://npm-registry-packages"}},"1.2.5":{"name":"nodehandler-dot","version":"1.2.5","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.2.5","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"d063635f21f22bdc8e4284cad8da2d91d364450d","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.2.5.tgz","fileCount":6,"integrity":"sha512-vc594M8WAfjALyGMr3Z6Qud+1dHOblbg6G2PlTqK1wmiAiodhBH8wJSYOIQTXFzrsPDuxA8FBdJtaCVjHt+KXw==","signatures":[{"sig":"MEUCICy2KG6L2qLEUlDoEHtsEvI8HHyCTjMAxkMbQvFQiCgUAiEA+psnTB99xsO5hD4jJbaHkdwPvAMnV75WQ3HCz1YhZ1U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2YtSCRA9TVsSAnZWagAAsYgP/2NUBDc9gt0Ax4K1WWzz\ntl0QOmeqFjuaXTeXyLKI8BuM+ONaQaV+2OQt1TNWV0D3et9StXlUNlcxwpN/\nGUq5Wbz9xoCoichWJ4MovZFpa1/roXJ7Nbou8gEytS8bib6M34X64VNKHBcI\nENK/6BNnqp+n+/x23kfRaJlCgk1soC7l0TqNyG959mw6ownxLku4y/4uJRaQ\ngf7Gx0rr/yl2qu18//9KWXnpkGUMaETEzH4tb0JXpr1hsVG3LqwAVnsrC4o9\nVGwxWcira6P1o6Nzo/e+KETTpAFwa+PjxQ8aWLSxyQb5g3cadPBnqiPcjFMi\nTRXAae7T4gXCXx8iUInm99Nmxa1fx/PZrUjshABrrySn+RvLjPRS7MXrxwgg\nLihhxOLopJmLqyfNNcmc95Xo4spjdqaj/zuAVsN2uVShbOKDwFHd4sXBFalG\ng2rHGL46UeNLm6QRpVK+obJIN6Vh4G9nVwGn1kfVev8xoN68Rug7Iv5oVDvb\npqp8EmxHCZ/sbS1x5TeqCpRmnKW704ek+TRs4zevNWN+GtP5hbMcQmZeAqwy\nmD79x3uU9NXJ3tF+VzAS/22xzQNtLvNJBZlS+h201NOWwbd2Rvc7AhcPVG+o\nFksjehIQpEINXJCmPhiJy1rghiioQIYy4ikkSCAudf8NLHnx/156p7+5QmQH\nmKce\r\n=t5O5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:published/nodehandler-dot@1.2.5.tgz","readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test && npm run build:dist","build:dist":"babel -d ./dist ./src","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},"_resolved":"","_integrity":"","deprecated":"Support for API Builder 3.x will cease on 30th April 2020. Use the v3 to v4 upgrade guide (https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/api_builder_v3_to_v4_upgrade_guide.html) to migrate all your applications to API Builder 4.x.","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"6.1.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.11.3","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.2.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.2.5_1540983633535_0.34126274563876824","host":"s3://npm-registry-packages"}},"1.2.7":{"name":"nodehandler-dot","version":"1.2.7","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.2.7","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"44e7cdd862a527801e7f922e6777293c58f267e2","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.2.7.tgz","fileCount":6,"integrity":"sha512-p35dz3Xx6j3cWh+Te1/gMMCs3e04z6MXa1nEOarc6ki4LJoBqNP7Cdj71Tx6YQDhHTvox1ZTl5JlABm79MjY2A==","signatures":[{"sig":"MEYCIQC0jwLPoGoz0ze+dOwpUXGXgbNVWq3VDWovedj2wKwo5QIhAMWWp65uRt6GzXdM/+r09T6+fCmTBvHWe/68w2SoQ6lO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6vOCCRA9TVsSAnZWagAAydsP+QCQ59Myc/BRMr7ftzbt\nJNmHdd+DDpskUiAHLerDF8eeG3B7PZTDx2KDmm9hlcjgwV7YF4v+dLD7fcAe\nAqGU3szmiB3gosv1hnZZjM1niooxPqFlgOjhslW7NcXAQoxnqMGXCGgKaX2L\nPNrdF0cb64UHmOrWepgjbjyiBX/HJ0uZDTnC66KaB4u6zvPzxJolRq3sosA1\nuQkVeQ/deIkJuTG/2nWXCebVmchh+GFNduIj9sIw9YMI4ZqovHSpIgQy19rm\nz84iR4aSiybz2xxu/YGOmMjDDI/9oDusVRacK5m2TbWcdro9xfUiGb1TNeAf\nYggEtOVvDgeorC9/y/Ujwwz7kCo/HJpPBKe/gYs06QrSoOrrGUef3+xpA5yU\nbflxl+EauW6T5lQXV2ek0cG56COChzvkJB8HbkwIRZxaBLIlaEETQyokaT7m\nMZbElxNgYnWFE2ONEeyuJr2LYe4mOTw+QKwTJO5ziXzFORhggC9Uxbc17wXJ\nJcPO3WWWDGieLNPq8TkHw+ynwRtqwk09EOsMnkGevM6RAyiES4eeafyYLcQ0\ndYSn8sBnWrd2FcKbRGR3679vZ527mdnxnQC/PnDxu8QDfpPs2exWxBnzy8uH\nIR7tv5z6YeklkXy5lCJuWUkkVnG/xpaQN8FcCmnzv2ZOSXOm+1dlSZsv5I3Q\nQVCO\r\n=If5X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:published/nodehandler-dot@1.2.7.tgz","readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test && npm run build:dist","build:dist":"babel -d ./dist ./src","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},"_resolved":"","_integrity":"","deprecated":"Support for API Builder 3.x will cease on 30th April 2020. Use the v3 to v4 upgrade guide (https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/api_builder_v3_to_v4_upgrade_guide.html) to migrate all your applications to API Builder 4.x.","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"6.1.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.11.3","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.2.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.2.7_1542124417524_0.9375438035499872","host":"s3://npm-registry-packages"}},"1.2.9":{"name":"nodehandler-dot","version":"1.2.9","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.2.9","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"3a3e39bd50494175dad0e41a469a7337b05159a5","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.2.9.tgz","fileCount":6,"integrity":"sha512-hatY0ZxKwzam2dbpebqylQFzCIW8XYt1W/t6QXYU8q1JW33p6zLEwa/7PcoBPwYFqFP4KRir1LP1AEA5DSt5CA==","signatures":[{"sig":"MEYCIQDiG+SLdCrq08odcC3DcNaX+vOIr38FQx8IaUi/HsyapgIhAJhFkvBFiys1xz2U0YJE30n/0k6rsdMTn+Y1o0FhsXdK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVCY9CRA9TVsSAnZWagAAbyAP/1fyAMO7J3SMZ5t3OK7W\nsuwCHwz57FETX7Sk2xj99NlB9lGAJ0qk3DBhBN0ttWZo3soEGstfKSpFittJ\nR4FgZeSt+ktihEMsAJlmQh8sZZJcfjWYPJeQGEyxLYav9udUhAAXmR3pNoyO\n6LaGIZeU+GMDsiq5jg1/li2d0LdeoLSREM7+4iwYixfuXObWoFbHMnLUpsRh\n/fjgq4PMDUSax2gF9XmpcFMt4GTd6S8RqHc5m7KkKHHA4dMcdUyIoDEg4VOQ\nGmI5tyZ8sInpcLA+mR+3mfXu+Li6nuLag4wnrfU9gvZEptNrXAXuqZNiwaKZ\nDf5OxxAIqdCuDf+uaODFudabnlnaGVgnaUrDJ++ETkiAnmLy62cf0Smn8kuV\nnilKey0G8Yf3uk42ptd1//zrNBLDNELNyFEqOtozY4Vv7f1kO8F8VGmQ/Rk2\ncM85ORuxL3LvzvgicWt2RuY5DdkSuM4jdOXXrMGdGXxg3qikXPTBOHY9Eu8/\n+d4r24zFC7DdGEdXmdbTV5PTvdmFeVYvQ46K6f7OQWorf+DQnxzJJlQ8QXSC\nxnT4qEay1oisnUa14QOjTCodYacz4kUG4GaPfa0YKU4T6QqYPzg/6ev/78Fx\n1ZPW0MWAYG+4k3fX1fxnB7FVje3hfUejLXXIpfWUVSt7U9WzKC/Ylp0Km1pA\nRk9A\r\n=e6im\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:published/nodehandler-dot@1.2.9.tgz","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run test && npm run build:dist","build:dist":"babel -d ./dist ./src","build:lint":"eslint .","check:used":"dependency-check ./package.json","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},"_resolved":"","_integrity":"","deprecated":"Support for API Builder 3.x will cease on 30th April 2020. Use the v3 to v4 upgrade guide (https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/api_builder_v3_to_v4_upgrade_guide.html) to migrate all your applications to API Builder 4.x.","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"6.1.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.11.3","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.2.9"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.2.9_1549018684805_0.1846828986274709","host":"s3://npm-registry-packages"}},"1.2.10":{"name":"nodehandler-dot","version":"1.2.10","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.2.10","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"d989b3a18584c343c9c3d48f9ea8c9e524bcecc1","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.2.10.tgz","fileCount":6,"integrity":"sha512-XA6W0TJj3mshQi/VECJOi+OJ5nOOOrtD8181zZSxFFXGja8PouiTAhciCbHcNenHBF3XmP8MHIMblz81AdT9fg==","signatures":[{"sig":"MEUCIQCorSiMUPtNTZ+BGyzqp8TnycJ0oq+eYJtcLwLcBhlM+AIgbnqbGnVeX/yXblsjjXnA46HMeCBsPgpWJUuw4KZuBd0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYZbHCRA9TVsSAnZWagAAgZUQAINYjyLxNLxUc0SnNbq1\nGFiBOPbpgIF4V/D47/U2WdBfrZq2lRSvmMr+fkHkxyi03qd3UrfrizBVHQQ9\nZx7xLZDC/htI7YsnH2jj1PGjyfeuNVKqnE+lNT6J1CPJUdTwfPjJ4ywEz12/\ngVFc/t20CIZlJu9z/WeGT8uzIz3uZn/RqkIAtKDZIxObyhIqhaulfMBwASzs\nP2JD3kRuhYOY1WEUqzDfV56leua2ZlRP9itGL4ZiD1Z4tuPT6g2sPJ3wUgQM\nE6rfWLQQvJOHYi8HiOM0ad764TXt6upbFTD8Gk7/I5Ud193VjRjsrhrhHLtg\ng43zV81CuYguWJ6fgw/KE/XeprTIMVUAYbdyM/7NNu6p0MFzwkwf9TUM1ZFz\nxBDcz58xxahCAbxgwAqtFweUFlN71ADOAgsWVq5i0Zu67eHDbl8o64NIsrcc\nnn0tvDDY83/iQFIwI+jYlvMoXAqEjHvmvcmZM2k1J2aNGI7Jg8e23huJ8P3h\nvvM7go5cAmdAaYIrPiqj+M4Evgn5e9KISKwLxIUtiQvzrD8zTeu+K5oyYrri\nosAxZM/hVR3SVRg7ErhwOvpPK3H+p+hxP2II8ZU7ToOgMZaAS/CCVFCHjT52\nRNEuvGCg6zbhwk9mH1WJh9RK1jNDy21Ubww8fEq8O62uqOz0URXl36SiwAgM\npHF2\r\n=P0ah\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:published/nodehandler-dot@1.2.10.tgz","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run check:used && npm run test && npm run build:dist","build:dist":"babel -d ./dist ./src","build:lint":"eslint .","check:used":"dependency-check ./package.json --no-dev --entry src/index.js","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},"_resolved":"","_integrity":"","deprecated":"Support for API Builder 3.x will cease on 30th April 2020. Use the v3 to v4 upgrade guide (https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/api_builder_v3_to_v4_upgrade_guide.html) to migrate all your applications to API Builder 4.x.","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"6.1.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.11.3","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.2.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.2.10_1549899463052_0.9555757902880484","host":"s3://npm-registry-packages"}},"1.2.11":{"name":"nodehandler-dot","version":"1.2.11","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.2.11","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"b2492978f3c015100760e88ddd46800e026a476e","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.2.11.tgz","fileCount":6,"integrity":"sha512-fjeMnvExGaH4PJ4VzdguvnW5P46yyrq6Zn6KLDk9SDcfbOroRe2xaU3WwDEFxlYAUOE7cAwajtlKHF8m0GdJxQ==","signatures":[{"sig":"MEUCIGtN9LFY0B9fvKJUradfPga3VkhCQEG3Z+Id0dnxj5l/AiEAySgUpJTzmmhG2b/z1BfCofb38cLJYoRWo+b4woqabKE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZwZECRA9TVsSAnZWagAAmZkP/RrMMolOwEVEVScHlBwP\n2+PK77TPRWpdBUzyd75HJWGNyUPo2RI9wCl9e4I9x12EwXNfoNnuKlxCGFzO\nBLsbaieMmcwfKH4tXZNCJ3SoBm3rnA1/UfLalZEhYYKUyBXamj2j8qqC7xoS\nPh2ZVhLRQrk1JtfnuNXDNNYUCpA5YBhOZGOYgg4007CiS6aGq4ty+GiHDD20\nAaEAGroEevvTCBV3hPJqKknTFLBA/hqtA10yFM92HcKno+9nFiwKGaGqMbMC\nY/caYs7Vi/wKUHZluI4udA5Y0Q5GrRJ3uKpdNo3sfAHNiubl6kuMlxiul/fJ\ngFH/jlHreWCqLOnww8UeWyFH0uIXjizG/Wy/pswMa63Qq7bdLaK75bHqOoKY\negEe4KqjzOIcrU8wDcws082uBXlTOjGAegQMZ6arQq/SRaYt1v+i1nolFzv4\nesUkNXoFZIvb+DjlUfgyva1/+7a29PjSo2XEhN1m8unlxwQItczFJnX98ijt\nzZwALRlIJoH6pRS+gzgeTZjf4DLCVRAgbC/DXYy8ZlG9HhEJFIiL/93ROVcH\nGq9qaMokhkPExWJltaYxGogS5we/f41tW/LVaN3b2+PkMPQqvS02jFuhjY2/\n1wxvnFqjZ9z2xoQ66qyY28afBEmESiPd3FIy1HR7EQ6fa7Ny5qJSlRqOxOcy\nTfvi\r\n=uypb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:published/nodehandler-dot@1.2.11.tgz","readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run check:used && npm run test && npm run build:dist","build:dist":"babel -d ./dist ./src","build:lint":"eslint .","check:used":"dependency-check ./package.json --no-dev --entry src/index.js","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},"_resolved":"","_integrity":"","deprecated":"Support for API Builder 3.x will cease on 30th April 2020. Use the v3 to v4 upgrade guide (https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/api_builder_v3_to_v4_upgrade_guide.html) to migrate all your applications to API Builder 4.x.","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"6.1.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.11.3","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.2.11"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.2.11_1550255681782_0.10183469450324067","host":"s3://npm-registry-packages"}},"1.2.12":{"name":"nodehandler-dot","version":"1.2.12","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.2.12","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"048fcf3507d9de7a2e2bf3fc8f0538023ddf783a","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.2.12.tgz","fileCount":6,"integrity":"sha512-54xYmWoby31GZ3VMcoYnB4rCweMzFUsA9+WicEJrnYqh2skEe1VSoFTb+7oVwwKj45S4Un36S+HICofGgNzB0Q==","signatures":[{"sig":"MEUCIQD0Nj/U4bM+KA7lITWwcQNjRtBFDIMBIl2QTOTSd15XAgIgZPSa3vDVKr/uLVqSgmP14+Uf6s9oDn9MpcZqX26z0rE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdHICCRA9TVsSAnZWagAAE+gQAI/ke2tPHOOyI3sFc6Wk\n2vTQ/QQXDz6zrY0z3dY8Zd5Wbidfoi1vHCvLe4w/4h5izJztkW4zIbqCXH/o\nqEcmNsyc2wmXr9420nGKDFPRu5S+X5IavuBBAyuZj9/729zPaIme0ZQFRsL0\n08vnC3Rpi5sH18LMqW8Ac/iRXImkaTFXeAzj00V1+y3nzjEhLVOsDbeAYsdc\n57z/BeylNXkd92KgDBAYkgNkajdJpul+lpvknl9F4jp0Egmu6Mt2TsbXsFOv\n/4b6cSa14myLyViwEoq+eTMSgWnD4BY5p7fg0Kxz/L4C14UWfLFl4UJGbn4d\n1bX7ZiZx9ff0Q50UCnt/ggKnyy69NJ4+rMzgeHwRTSKgr8NBvygBkNd++90h\ntTTaHrahAZax/A96jmhLJG4qWzmImyPI1hqVWLIEn/AVqpU1NxP3wqlzDcyL\nFjxX0Qr746oI0Kzci+6HA5ttWusHddmS0Y7p8ii4LeSa29bLMGgManH4DL4r\n6bo00nsVYKCLpSyQ+ZgBTWHDeLzRxfxCBG9BDr0Vh1agrxFmbXhaNlKAQfXf\nd/xydrYCU1cl8R2Seu3cCutfrhZ6qaLYQJmJVN2QIH/zLLgVD8a2KAAQ22iO\n4c/qvGwf8AhpyZI4F0V2gB+Mvr0T/let3S0S9XMHJGv4M/MTQAU2Cd2aGmEE\niIh8\r\n=hDoI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:published/nodehandler-dot@1.2.12.tgz","readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run check:used && npm run test && npm run build:dist","build:dist":"babel -d ./dist ./src","build:lint":"eslint .","check:used":"dependency-check ./package.json --no-dev --entry src/index.js","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},"_resolved":"","_integrity":"","deprecated":"Support for API Builder 3.x will cease on 30th April 2020. Use the v3 to v4 upgrade guide (https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/api_builder_v3_to_v4_upgrade_guide.html) to migrate all your applications to API Builder 4.x.","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"6.1.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.11.3","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.2.12"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.2.12_1551135234156_0.8307767895102227","host":"s3://npm-registry-packages"}},"1.2.13":{"name":"nodehandler-dot","version":"1.2.13","keywords":["amplify","api-builder","flow","node","template"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","_id":"nodehandler-dot@1.2.13","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"dist":{"shasum":"871a84b62079aa11896021424a7d70270b86a551","tarball":"https://registry.npmjs.org/nodehandler-dot/-/nodehandler-dot-1.2.13.tgz","fileCount":6,"integrity":"sha512-4jjOQuES+O3jbRpcNbUpPPNM4NijqBiinMy68iHazfCDcQPpc9q/lM5hHtLvjJxQRhdasTqi1SKvzWmfjGNRFg==","signatures":[{"sig":"MEUCIDUcMceYcJiSGWOLwagbNyNw3UqyA/4QLwOQqknF+BolAiEAxhmN95eDeJuP3qpUEIqhPm5lYWXcV6byFtPCv2zsprc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc56TWCRA9TVsSAnZWagAAawIP/1rIX7JYzTtiPxKmzD8r\nBFIxftbwW53H0wbt1UALTTIX2jPZrNM7jzgkIGKq34m1Y7os9juOk10kgnCY\nM7pluCie5IsnwD9gSC5LzSFgO++y0geKNaT+fe3rEilMNudcENuPUOziWOzI\nWBtCEGQWLY+yMIvWnbgbZwYrJolVlo8zTWTi23XycmfcsGkqkQQHE+A0giSE\nKZvNSXNbiECCyuzQlz25/yUnkFTblPKY+nDENhhDKs9P8Qke2oASrHdUD7P7\nhdhIkLyOmaOH7Ouaal8/wqqWlL0v6eFsvaaKldsvzF5Mi0GZwyEHFx2np9pN\nOklcCP/5kEoQLo91KCOWd4Aic1MrpDOwIPDff2WN/ecymYcmZ4n4a/zDIIFx\nv97sDX0r1aIR2s7qD1xokZ3BIaB0Rr4nh/pZxGMHbKbYr6VnDJxPj7nr8VuG\nuitivGLm/PS1GmGQQ3UuvT1GS4RvCQ0yLvYGextuFcVp+T6+brkjo+tb+HIk\n+p1FZY9dg7sLlBg19/9QUm4tq2HQJogfWRM38iLj2R+4TO2PzE2TzqsCQCo9\nVc4QgGDm1nOBi8+ykC+A/CWcvbFuA6DdrabalpgNU7ojXr1vB7cyAjd1FGpi\nV7Ms1d3TSOeosgaGfaK3bqHoFc4l170JIeUC/BiWO0oNkk3qmnTQLzCfnhzf\n/y/L\r\n=ZN8B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:published/nodehandler-dot@1.2.13.tgz","readme":"# nodehandler-dot\n\n## About\n\nThis module installs the [doT](http://olado.github.io/doT/) Compose flow-node to be used within [Axway API Builder's](https://www.axway.com/en/datasheet/axway-api-builder)\nflow editor.\n\nThe Template flow-node allows the evaluation of [doT](http://olado.github.io/doT/) templates using values from the flow.\n\n### Format string\nThe _Format string_ method evaluates the doT template given with the data supplied. This allows complex values to be constructed from values that exist in the flow's context.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### Format object\nThe _Format object_ method is similar to the _Format string_ method. It evaluates the doT template given with the data supplied. However the resulting string value is then JSON parsed. This allows the creation of JavaScript values and objects from the evaluated template.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| data | object | y | The data to evaluate the template with. Use $ to access the entire context. |\n| template | string | y | The doT template being evaluated. |\n\n### doT Templates\n[doT](http://olado.github.io/doT/) is a JavaScript templating engine. As well as template evaluation, it supports features such as conditionals and iteration.\n\nIn the template, _it_ is used to refer to the `data`.\n\n#### Example\nIn the examples the Flow is going to be attached to an API that has three parameters, firstname, lastname and gender.\n\n##### Basic interpolation {{= }}\nThe template can be used to quickly concatenate values.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | {{=it.params.firstname}} {{=it.params.lastname}} |\n| Output | Clark Kent |\n\n\n##### Conditionals {{? }}\nThe template evaluation supports conditional logic to tailor the output based on the input.\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Clark&lastname=Kent&gender=m> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Mr Kent |\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?firstname=Lois&lastname=Lane&gender=f> |\n| _data_ | $ |\n| _template_ | Hello {{? it.gender==\"m\"}}Mr {{?}}{{? it.gender==\"f\"}}Ms {{?}}{{= it.surname}} |\n| Output | Hello Ms Lane |\n\n\n##### Array Iteration {{~ }}\nThe template engine can also iterate over arrays, creating content for each element in the array.\n\n\n| | |\n| - | - |\n| Request | <http://localhost:8080/api/example?names=Tom,Dick,Harry> |\n| _data_ | $ |\n| _template_ | {{~it.params.names :value:index}}{{=index}}={{=value}};{{~}} |\n| Output | 0=Tom;1=Dick;2=Harry; |\n\n\n## Getting started\n\n1.  Go to [platform.axway.com](https://platform.axway.com) and create an account\n1.  Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)\n1.  Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)\n\n## Install\n\nAfter creating your API Builder project (`appc new -t arrow`), you can install this flow-node handler\nusing npm:\n\n```\nnpm install --save nodehandler-dot\n```\n\nThe \"Compose\" flow-node will then be available in the tools panel when creating or editing Flows.\n","engines":{"node":">= 8.9"},"scripts":{"test":"shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha ./test --recursive -R spec","build":"npm run clean && npm run build:dev && npm run check:dependencies","clean":"shx rm -rf coverage .nyc_output","posttest":"nyc check-coverage --lines 80 --branches 80 --functions 80","build:dev":"npm run build:lint && npm run check:used && npm run test && npm run build:dist","build:dist":"babel -d ./dist ./src","build:lint":"eslint .","check:used":"dependency-check ./package.json --no-dev --entry src/index.js","test:debug":"mocha --inspect --debug-brk","test:watch":"npm test -- --watch","check:unused":"dependency-check ./package.json --unused --no-dev -i deep-equal","check:dependencies":"npm run check:used && npm run check:unused"},"_npmUser":{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},"_resolved":"","_integrity":"","deprecated":"Support for API Builder 3.x will cease on 30th April 2020. Use the v3 to v4 upgrade guide (https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/api_builder_v3_to_v4_upgrade_guide.html) to migrate all your applications to API Builder 4.x.","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"_npmVersion":"6.1.0","description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","directories":{},"_nodeVersion":"8.11.3","dependencies":{"dot":"^1.1.2","axway-flow-sdk":"1.2.13"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nodehandler-dot_1.2.13_1558684885446_0.4266941695709927","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-11-15T16:34:28.636Z","modified":"2025-07-25T08:30:58.735Z","1.0.0":"2017-11-15T16:34:28.636Z","1.1.0-101":"2018-02-05T16:47:32.728Z","1.1.0-102":"2018-02-13T14:13:12.661Z","1.1.0-103":"2018-02-19T18:01:32.882Z","1.1.0-104":"2018-02-21T15:13:18.927Z","1.1.0-105":"2018-02-21T21:29:15.217Z","1.1.0-106":"2018-02-22T04:38:30.289Z","1.1.0-107":"2018-02-22T09:51:35.223Z","1.1.0":"2018-02-22T18:26:09.324Z","1.1.1-0":"2018-02-28T13:05:27.020Z","1.1.1-1":"2018-02-28T20:44:07.801Z","1.1.1-2":"2018-02-28T20:59:46.515Z","1.1.1-3":"2018-03-20T13:52:38.558Z","1.1.1-4":"2018-03-21T12:37:36.366Z","1.1.1-5":"2018-03-23T21:47:17.788Z","1.1.1-6":"2018-03-27T13:34:07.207Z","1.1.1-7":"2018-04-11T14:00:45.548Z","1.1.1-8":"2018-04-11T14:50:32.947Z","2.0.0-1":"2018-04-12T11:19:56.560Z","2.0.0-2":"2018-04-13T12:48:41.455Z","2.0.0-3":"2018-04-13T15:29:43.661Z","2.0.0-4":"2018-04-13T15:56:59.504Z","2.0.0-5":"2018-04-25T16:52:39.744Z","2.0.0-6":"2018-04-26T13:35:32.867Z","2.0.0-7":"2018-05-10T08:55:57.715Z","2.0.0-8":"2018-05-23T10:23:44.869Z","2.0.0-9":"2018-05-24T18:01:30.638Z","2.0.0-10":"2018-05-25T16:07:42.412Z","1.1.1":"2018-06-18T14:45:55.168Z","1.2.4":"2018-10-25T16:07:00.263Z","1.2.5":"2018-10-31T11:00:33.680Z","1.2.7":"2018-11-13T15:53:37.652Z","1.2.9":"2019-02-01T10:58:04.887Z","1.2.10":"2019-02-11T15:37:43.188Z","1.2.11":"2019-02-15T18:34:43.890Z","1.2.12":"2019-02-25T22:53:54.382Z","1.2.13":"2019-05-24T08:01:25.584Z"},"bugs":{"url":"https://axway.com"},"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENCE IN LICENSE","homepage":"https://platform.axway.com","keywords":["amplify","api-builder","flow","node","template"],"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder","type":"git"},"description":"Axway Flow Engine dot Template node. See http://olado.github.io/doT","maintainers":[{"email":"nkeranova@axway.com","name":"nkeranova"},{"email":"builder11@axway.com","name":"axway-npm"},{"email":"bladedancer.gavin@gmail.com","name":"bladedancer"},{"email":"ddimonov@axway.com","name":"ddimonov-axway"},{"email":"ashtripathi@axway.com","name":"neon-axway"},{"email":"vchauhan@axway.com","name":"vchauhan"},{"email":"mdimitrova@axway.com","name":"mdimitrova"},{"email":"pdzhorev@axway.com","name":"pdzhorev"},{"email":"ahurst@axway.com","name":"axway_alasdair"},{"email":"pl.todorov@gmail.com","name":"pltod2"},{"email":"mbonchev@axway.com","name":"mbonchev-axway"},{"email":"bchristiansen@axway.com","name":"axway-vertex"},{"email":"npm.modules@axway.com","name":"buildernpmuser"}],"readme":"","readmeFilename":""}