{"_id":"@glomex/cd-json-transformation","_rev":"46-10965664eb73763fc6a1879e275373f2","name":"@glomex/cd-json-transformation","dist-tags":{"latest":"2.1.1"},"versions":{"1.0.0":{"name":"@glomex/cd-json-transformation","version":"1.0.0","author":{"name":"Julian Hollmann","email":"julian.hollmann@glomex.com"},"license":"Unlicensed","_id":"@glomex/cd-json-transformation@1.0.0","maintainers":[{"name":"nerdbeere","email":"julian.hollmann@gmail.com"}],"dist":{"shasum":"81f3cc7bbbd794a3800c63ffbc2a92f8ea842c98","tarball":"https://registry.npmjs.org/@glomex/cd-json-transformation/-/cd-json-transformation-1.0.0.tgz","integrity":"sha512-RPjNlbwg4M5EFfk7ZDdCFp1H31uM26eDJ0Jfytj8ZrC4HZPXIEenUS9rVz3MFt/SFfH4YZcen2c2vxFQreKWrg==","signatures":[{"sig":"MEUCIQDLEl6I1rax/ONwHCufUK4SnjMsRLsxW48FCw/JDf5M8AIgOmUZCMt7pp3QVGI9mwmFLt5/i2dku818pC+ock2gEhk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","gitHead":"187c4c60eed0db9c00265fa9d9e8fd818ce8c2bf","scripts":{"bump":"bump-version ./ --verify-script \"npm run test\" --npm-publish","lint":"eslint src test","test":"mocha --recursive --ui tdd test/*","test-ci":"npm run test && npm run lint"},"_npmUser":{"name":"nerdbeere","email":"julian.hollmann@gmail.com"},"_npmVersion":"5.3.0","description":"## Example","directories":{},"_nodeVersion":"6.9.4","dependencies":{"traverse":"^0.6.6","object-path":"^0.11.4","@glomex/vvs-bump-version":"1.0.1"},"devDependencies":{"mocha":"^4.0.1","eslint":"2.9.0","power-assert":"^1.4.4","eslint-plugin-react":"5.1.1","eslint-config-airbnb":"9.0.1","eslint-plugin-import":"1.8.0","eslint-plugin-jsx-a11y":"1.2.0"},"optionalDependencies":{"@glomex/vvs-bump-version":"1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cd-json-transformation-1.0.0.tgz_1512573147792_0.25876835477538407","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@glomex/cd-json-transformation","version":"1.0.1","author":{"name":"Julian Hollmann","email":"julian.hollmann@glomex.com"},"license":"Unlicensed","_id":"@glomex/cd-json-transformation@1.0.1","maintainers":[{"name":"feriartos","email":"maxferiartos@gmail.com"},{"name":"tonkonozhenko","email":"tonkonozhenko@gmail.com"},{"name":"hrb-d","email":"herbert.dombrowski@glomex.com"},{"name":"idmitrieva","email":"irina.dmitrieva@glomex.com"},{"name":"pmdroid","email":"me@pascalmatthiesen.de"},{"name":"r.kliuchko","email":"roman.kliuchko@glomex.com"},{"name":"dacascas","email":"x_casper@ukr.net"},{"name":"okinash","email":"oleksandr.kinash@ua.glomex.com"},{"name":"maxbanton","email":"maxbanton@gmail.com"},{"name":"oleksandr.yefremov","email":"oleksandr.yefremov@glomex.com"},{"name":"irynka","email":"ak.irishka@gmail.com"},{"name":"bjurkowski","email":"benjamin.jurkowski@gmail.com"},{"name":"olysyuk","email":"olysyuk@gmail.com"},{"name":"klipstein","email":"tobias@klpstn.com"},{"name":"marcelbeumer","email":"marcel@marcelbeumer.com"},{"name":"mmatzanke","email":"martinmatzanke@gmail.com"},{"name":"alexnick","email":"alex.nickolenko@gmail.com"},{"name":"defly","email":"defly.self@gmail.com"},{"name":"dimmy","email":"dmitriysidor3nk0@gmail.com"},{"name":"nerdbeere","email":"julian.hollmann@gmail.com"},{"name":"dvselas","email":"deno.vonselasinsky@glomex.com"}],"dist":{"shasum":"f5300819b668d331585685a46dec9e9e0ecb2ea6","tarball":"https://registry.npmjs.org/@glomex/cd-json-transformation/-/cd-json-transformation-1.0.1.tgz","integrity":"sha512-u526OZjwviKLYrsGz1q0payG3cChiAmCH/zjtc+on5dpl97Q8MBwUzmC3nKebQddCIBCXghddokB1EbFkrjI0g==","signatures":[{"sig":"MEUCIQDHj922c9eUi9KLZ26+VKwPTeoWYMm19iU3p8o04pRhAwIgf4PMJbDspLz7mjCtbnhtpsOTgVeqzQAU9R4uh2EiCMI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","gitHead":"925c55480b18058184f574e6cb18377a1b292912","scripts":{"bump":"bump-version ./ --verify-script \"npm run test\" --npm-publish","lint":"eslint src test","test":"mocha --recursive --ui tdd test/*","test-ci":"npm run test && npm run lint"},"_npmUser":{"name":"klipstein","email":"tobias@klpstn.com"},"_npmVersion":"5.5.1","description":"## Example","directories":{},"_nodeVersion":"8.0.0","dependencies":{"traverse":"^0.6.6","object-path":"^0.11.4","@glomex/vvs-bump-version":"1.0.1"},"devDependencies":{"mocha":"^4.0.1","eslint":"2.9.0","power-assert":"^1.4.4","eslint-plugin-react":"5.1.1","eslint-config-airbnb":"9.0.1","eslint-plugin-import":"1.8.0","eslint-plugin-jsx-a11y":"1.2.0"},"optionalDependencies":{"@glomex/vvs-bump-version":"1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cd-json-transformation-1.0.1.tgz_1512663980039_0.18284008977934718","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@glomex/cd-json-transformation","version":"2.0.0","author":{"name":"Julian Hollmann","email":"julian.hollmann@glomex.com"},"license":"Unlicensed","_id":"@glomex/cd-json-transformation@2.0.0","maintainers":[{"name":"feriartos","email":"maxferiartos@gmail.com"},{"name":"tonkonozhenko","email":"tonkonozhenko@gmail.com"},{"name":"hrb-d","email":"herbert.dombrowski@glomex.com"},{"name":"idmitrieva","email":"irina.dmitrieva@glomex.com"},{"name":"pmdroid","email":"me@pascalmatthiesen.de"},{"name":"r.kliuchko","email":"roman.kliuchko@glomex.com"},{"name":"dacascas","email":"x_casper@ukr.net"},{"name":"okinash","email":"oleksandr.kinash@ua.glomex.com"},{"name":"maxbanton","email":"maxbanton@gmail.com"},{"name":"oleksandr.yefremov","email":"oleksandr.yefremov@glomex.com"},{"name":"irynka","email":"ak.irishka@gmail.com"},{"name":"bjurkowski","email":"benjamin.jurkowski@gmail.com"},{"name":"olysyuk","email":"olysyuk@gmail.com"},{"name":"klipstein","email":"tobias@klpstn.com"},{"name":"marcelbeumer","email":"marcel@marcelbeumer.com"},{"name":"mmatzanke","email":"martinmatzanke@gmail.com"},{"name":"alexnick","email":"alex.nickolenko@gmail.com"},{"name":"defly","email":"defly.self@gmail.com"},{"name":"dimmy","email":"dmitriysidor3nk0@gmail.com"},{"name":"nerdbeere","email":"julian.hollmann@gmail.com"},{"name":"dvselas","email":"deno.vonselasinsky@glomex.com"}],"dist":{"shasum":"faba8f1d1f25f6c694bfd6b0e78a595d8b143de4","tarball":"https://registry.npmjs.org/@glomex/cd-json-transformation/-/cd-json-transformation-2.0.0.tgz","integrity":"sha512-mwciNdszQZLuPol3aUDLijeZVEcdqITtG6Beg0lixiXYCQwCd2BDqcNVqnztbuTEOR884LTYte1fW+XKQYqM4Q==","signatures":[{"sig":"MEUCICxyKVoTW9a3XhOmkDF4LwDTzhoaBtOEPAXUBOJxnz2iAiEAjo4YwQw9VEnta13RNXdTGwF+L5MYDUlFE/yM0oSkIAY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/transform.js","gitHead":"6d72c7b7eacad1b859a3725c800a04ef19ceb6d1","scripts":{"bump":"bump-version ./ --verify-script \"npm run test\" --npm-publish","lint":"eslint src test","test":"mocha --recursive --ui tdd test/*","test-ci":"npm run test && npm run lint"},"_npmUser":{"name":"nerdbeere","email":"julian.hollmann@gmail.com"},"_npmVersion":"5.3.0","description":"## Example","directories":{},"_nodeVersion":"6.9.4","dependencies":{"traverse":"^0.6.6","deep-equal":"^1.0.1","object-path":"^0.11.4","@glomex/vvs-bump-version":"1.0.1"},"devDependencies":{"mocha":"^4.0.1","eslint":"2.9.0","power-assert":"^1.4.4","eslint-plugin-react":"5.1.1","eslint-config-airbnb":"9.0.1","eslint-plugin-import":"1.8.0","eslint-plugin-jsx-a11y":"1.2.0"},"optionalDependencies":{"@glomex/vvs-bump-version":"1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cd-json-transformation-2.0.0.tgz_1513241898478_0.6611529942601919","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@glomex/cd-json-transformation","version":"2.0.1","author":{"name":"Julian Hollmann","email":"julian.hollmann@glomex.com"},"license":"Unlicensed","_id":"@glomex/cd-json-transformation@2.0.1","maintainers":[{"name":"feriartos","email":"maxferiartos@gmail.com"},{"name":"tonkonozhenko","email":"tonkonozhenko@gmail.com"},{"name":"hrb-d","email":"herbert.dombrowski@glomex.com"},{"name":"idmitrieva","email":"irina.dmitrieva@glomex.com"},{"name":"pmdroid","email":"me@pascalmatthiesen.de"},{"name":"r.kliuchko","email":"roman.kliuchko@glomex.com"},{"name":"dacascas","email":"x_casper@ukr.net"},{"name":"okinash","email":"oleksandr.kinash@ua.glomex.com"},{"name":"maxbanton","email":"maxbanton@gmail.com"},{"name":"oleksandr.yefremov","email":"oleksandr.yefremov@glomex.com"},{"name":"irynka","email":"ak.irishka@gmail.com"},{"name":"bjurkowski","email":"benjamin.jurkowski@gmail.com"},{"name":"olysyuk","email":"olysyuk@gmail.com"},{"name":"klipstein","email":"tobias@klpstn.com"},{"name":"marcelbeumer","email":"marcel@marcelbeumer.com"},{"name":"mmatzanke","email":"martinmatzanke@gmail.com"},{"name":"alexnick","email":"alex.nickolenko@gmail.com"},{"name":"defly","email":"defly.self@gmail.com"},{"name":"dimmy","email":"dmitriysidor3nk0@gmail.com"},{"name":"nerdbeere","email":"julian.hollmann@gmail.com"},{"name":"dvselas","email":"deno.vonselasinsky@glomex.com"}],"homepage":"https://github.com/glomex/cd-json-transformation#readme","bugs":{"url":"https://github.com/glomex/cd-json-transformation/issues"},"dist":{"shasum":"324ae8b0ad5917b325e2ac380cd74b27332668d6","tarball":"https://registry.npmjs.org/@glomex/cd-json-transformation/-/cd-json-transformation-2.0.1.tgz","integrity":"sha512-igMWWOveCPv6PcrpK4pi0y3Jr0HboV2CbpulG3/BAcct786OOnc6SicAPiBcQ+8dliSrubnM/sTaB2yVGLaFoQ==","signatures":[{"sig":"MEUCIQCqEMMWBHNTTwjNr67HRhntgW3Xh6Z1dY0GEZB5GAXfNAIgK3lu9RODZ5vyWOGo9MBCoRRazMmdsCW5MAMYVZV1PnM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/transform.js","gitHead":"74278eb719c239ebd998206315dff4dbeea95d14","scripts":{"bump":"bump-version ./ --verify-script \"npm run test\" --npm-publish","lint":"eslint src test","test":"mocha --recursive --ui tdd test/*","build":"babel src --out-dir lib --copy-files","test-ci":"npm run test && npm run lint","postinstall":"postinstall-build lib --script build"},"_npmUser":{"name":"klipstein","email":"tobias@klpstn.com"},"repository":{"url":"git+https://github.com/glomex/cd-json-transformation.git","type":"git"},"_npmVersion":"5.5.1","description":"## Example","directories":{},"_nodeVersion":"8.0.0","dependencies":{"traverse":"^0.6.6","deep-equal":"^1.0.1","object-path":"^0.11.4","@glomex/vvs-bump-version":"^1.0.5"},"devDependencies":{"mocha":"^4.0.1","eslint":"2.9.0","babel-cli":"^6.26.0","power-assert":"^1.4.4","postinstall-build":"^5.0.1","babel-preset-es2015":"^6.24.1","eslint-plugin-react":"5.1.1","eslint-config-airbnb":"9.0.1","eslint-plugin-import":"1.8.0","eslint-plugin-jsx-a11y":"1.2.0"},"optionalDependencies":{"@glomex/vvs-bump-version":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/cd-json-transformation-2.0.1.tgz_1513596660131_0.08303739666007459","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@glomex/cd-json-transformation","version":"2.0.2","author":{"name":"Julian Hollmann","email":"julian.hollmann@glomex.com"},"license":"Unlicensed","_id":"@glomex/cd-json-transformation@2.0.2","maintainers":[{"name":"feriartos","email":"maxferiartos@gmail.com"},{"name":"tonkonozhenko","email":"tonkonozhenko@gmail.com"},{"name":"hrb-d","email":"herbert.dombrowski@glomex.com"},{"name":"idmitrieva","email":"irina.dmitrieva@glomex.com"},{"name":"pmdroid","email":"me@pascalmatthiesen.de"},{"name":"r.kliuchko","email":"roman.kliuchko@glomex.com"},{"name":"dacascas","email":"x_casper@ukr.net"},{"name":"okinash","email":"oleksandr.kinash@ua.glomex.com"},{"name":"maxbanton","email":"maxbanton@gmail.com"},{"name":"oleksandr.yefremov","email":"oleksandr.yefremov@glomex.com"},{"name":"irynka","email":"ak.irishka@gmail.com"},{"name":"bjurkowski","email":"benjamin.jurkowski@gmail.com"},{"name":"olysyuk","email":"olysyuk@gmail.com"},{"name":"klipstein","email":"tobias@klpstn.com"},{"name":"marcelbeumer","email":"marcel@marcelbeumer.com"},{"name":"mmatzanke","email":"martinmatzanke@gmail.com"},{"name":"alexnick","email":"alex.nickolenko@gmail.com"},{"name":"defly","email":"defly.self@gmail.com"},{"name":"dimmy","email":"dmitriysidor3nk0@gmail.com"},{"name":"nerdbeere","email":"julian.hollmann@gmail.com"},{"name":"dvselas","email":"deno.vonselasinsky@glomex.com"}],"homepage":"https://github.com/glomex/cd-json-transformation#readme","bugs":{"url":"https://github.com/glomex/cd-json-transformation/issues"},"dist":{"shasum":"c1191dba8459f2e0750ded96920d4fed1ade27c3","tarball":"https://registry.npmjs.org/@glomex/cd-json-transformation/-/cd-json-transformation-2.0.2.tgz","integrity":"sha512-BleKbYTs4+30hLs60TJx0acWca9NNgNJ+uWZFEnraKMjlgJOfrI1+ogUtEV0VZhPWXHHII9I/h2ZNf3To5lzkg==","signatures":[{"sig":"MEUCIAUkxn4s3hiAMEsYaZ/UossRbK5RIXIkW8xlUMsne5ARAiEAkrwJrtCHewPKeBM/BXxEaHObmnavJKEHmxflvv7WoGk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/transform.js","gitHead":"a2c8de19e4bc824553666f954866ecfb29c250ca","scripts":{"bump":"bump-version ./ --verify-script \"npm run test\" --npm-publish","lint":"eslint src test","test":"mocha --recursive --ui tdd test/*","build":"babel src --out-dir lib --copy-files","test-ci":"npm run test && npm run lint","postinstall":"postinstall-build lib --script build"},"_npmUser":{"name":"klipstein","email":"tobias@klpstn.com"},"repository":{"url":"git+https://github.com/glomex/cd-json-transformation.git","type":"git"},"_npmVersion":"5.5.1","description":"## Example","directories":{},"_nodeVersion":"8.0.0","dependencies":{"traverse":"^0.6.6","deep-equal":"^1.0.1","object-path":"^0.11.4","postinstall-build":"^5.0.1","@glomex/vvs-bump-version":"^1.0.5"},"devDependencies":{"mocha":"^4.0.1","eslint":"2.9.0","babel-cli":"^6.26.0","power-assert":"^1.4.4","babel-preset-es2015":"^6.24.1","eslint-plugin-react":"5.1.1","eslint-config-airbnb":"9.0.1","eslint-plugin-import":"1.8.0","eslint-plugin-jsx-a11y":"1.2.0"},"optionalDependencies":{"@glomex/vvs-bump-version":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/cd-json-transformation-2.0.2.tgz_1513596939856_0.06623162562027574","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@glomex/cd-json-transformation","version":"2.1.0","author":{"name":"Julian Hollmann","email":"julian.hollmann@glomex.com"},"license":"Unlicensed","_id":"@glomex/cd-json-transformation@2.1.0","maintainers":[{"name":"glomex-all-the-things","email":"team-engineering-heads@services.glomex.com"},{"name":"krammi","email":"markus.kramm@glomex.com"},{"name":"feriartos","email":"maxferiartos@gmail.com"},{"name":"tonkonozhenko","email":"tonkonozhenko@gmail.com"},{"name":"hrb-d","email":"herbert.dombrowski@glomex.com"},{"name":"idmitrieva","email":"irina.dmitrieva@glomex.com"},{"name":"pmdroid","email":"me@pascalmatthiesen.de"},{"name":"r.kliuchko","email":"roman.kliuchko@glomex.com"},{"name":"dacascas","email":"x_casper@ukr.net"},{"name":"okinash","email":"oleksandr.kinash@ua.glomex.com"},{"name":"maxbanton","email":"maxbanton@gmail.com"},{"name":"oleksandr.yefremov","email":"oleksandr.yefremov@glomex.com"},{"name":"irynka","email":"ak.irishka@gmail.com"},{"name":"bjurkowski","email":"benjamin.jurkowski@gmail.com"},{"name":"olysyuk","email":"olysyuk@gmail.com"},{"name":"klipstein","email":"tobias@klpstn.com"},{"name":"marcelbeumer","email":"marcel@marcelbeumer.com"},{"name":"mmatzanke","email":"martinmatzanke@gmail.com"},{"name":"alexnick","email":"alex.nickolenko@gmail.com"},{"name":"defly","email":"defly.self@gmail.com"},{"name":"dimmy","email":"dmitriysidor3nk0@gmail.com"},{"name":"dvselas","email":"deno.vonselasinsky@glomex.com"}],"homepage":"https://github.com/glomex/cd-json-transformation#readme","bugs":{"url":"https://github.com/glomex/cd-json-transformation/issues"},"dist":{"shasum":"035990e354c9137c72834f9c9c15202537e53773","tarball":"https://registry.npmjs.org/@glomex/cd-json-transformation/-/cd-json-transformation-2.1.0.tgz","integrity":"sha512-Ds/qh1HFWd8076gXZYjJ+xA9ubSZlbrdO3MdB60UzZzg+/OMvuyvvhMXcSX6L0F12aqgrmXGe20w1CFngrCANA==","signatures":[{"sig":"MEYCIQD6n9CcxWWmPtpGwitpwXhYbMQP/qBu4Z8vgd1n3EONjQIhAJ4GgB4u937fRH0YvDDQqmCye6GXVrrqDOWbuRiKdpss","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/transform.js","gitHead":"e2c07ea75af110fc77d54e8f47c77b51503aa80e","scripts":{"bump":"bump-version ./ --verify-script \"npm run test\" --npm-publish","lint":"eslint src test","test":"mocha --recursive --ui tdd test/*","build":"babel src --out-dir lib --copy-files","test-ci":"npm run test && npm run lint","postinstall":"postinstall-build lib --script build"},"_npmUser":{"name":"hrb-d","email":"herbert.dombrowski@glomex.com"},"repository":{"url":"git+https://github.com/glomex/cd-json-transformation.git","type":"git"},"_npmVersion":"5.6.0","description":"## Example","directories":{},"_nodeVersion":"8.0.0","dependencies":{"traverse":"^0.6.6","deep-equal":"^1.0.1","object-path":"^0.11.4","postinstall-build":"^5.0.1","@glomex/vvs-bump-version":"^1.0.5"},"devDependencies":{"mocha":"^4.0.1","eslint":"2.9.0","babel-cli":"^6.26.0","power-assert":"^1.4.4","babel-preset-es2015":"^6.24.1","eslint-plugin-react":"5.1.1","eslint-config-airbnb":"9.0.1","eslint-plugin-import":"1.8.0","eslint-plugin-jsx-a11y":"1.2.0"},"optionalDependencies":{"@glomex/vvs-bump-version":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/cd-json-transformation-2.1.0.tgz_1516889398398_0.09388578939251602","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"@glomex/cd-json-transformation","version":"2.1.1","author":{"name":"Julian Hollmann","email":"julian.hollmann@glomex.com"},"license":"Unlicensed","_id":"@glomex/cd-json-transformation@2.1.1","maintainers":[{"name":"alexnick","email":"alex.nickolenko@gmail.com"},{"name":"bjurkowski","email":"benjamin.jurkowski@gmail.com"},{"name":"dacascas","email":"x_casper@ukr.net"},{"name":"defly","email":"defly.self@gmail.com"},{"name":"dimmy","email":"dmitriysidor3nk0@gmail.com"},{"name":"dvselas","email":"deno.vonselasinsky@glomex.com"},{"name":"feriartos","email":"maxferiartos@gmail.com"},{"name":"glomex-all-the-things","email":"team-engineering-heads@services.glomex.com"},{"name":"hrb-d","email":"herbert.dombrowski@glomex.com"},{"name":"idmitrieva","email":"irina.dmitrieva@glomex.com"},{"name":"irynka","email":"ak.irishka@gmail.com"},{"name":"klipstein","email":"tobias@klpstn.com"},{"name":"krammi","email":"markus.kramm@glomex.com"},{"name":"marcelbeumer","email":"marcel@marcelbeumer.com"},{"name":"maxbanton","email":"maxbanton@gmail.com"},{"name":"mmatzanke","email":"martinmatzanke@gmail.com"},{"name":"okinash","email":"oleksandr.kinash@ua.glomex.com"},{"name":"oleksandr.yefremov","email":"oleksandr.yefremov@glomex.com"},{"name":"olysyuk","email":"olysyuk@gmail.com"},{"name":"pmdroid","email":"me@pascalmatthiesen.de"},{"name":"r.kliuchko","email":"roman.kliuchko@glomex.com"},{"name":"tonkonozhenko","email":"tonkonozhenko@gmail.com"}],"homepage":"https://github.com/glomex/cd-json-transformation#readme","bugs":{"url":"https://github.com/glomex/cd-json-transformation/issues"},"dist":{"shasum":"31140703ac177475bfa563d993435b2a05ff7cc0","tarball":"https://registry.npmjs.org/@glomex/cd-json-transformation/-/cd-json-transformation-2.1.1.tgz","fileCount":22,"integrity":"sha512-uUp8JWX+I4t5jdHb0KF/Psbb2D6WUTzxcQWcOvfsdNKxe2HLNIltO8llLtmvIe7SZfAls6mNs5tRPLt8t3ZZkQ==","signatures":[{"sig":"MEYCIQCLvAkPaf2kY4A4BN0pLHRVWAnGjiXbLLiAMuvk90O/jAIhAKG9xTufF9IKDJJka0QyxQbnpMqmHJs0GFqTCBLFfb8B","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42551},"main":"lib/transform.js","gitHead":"9dca0332bdef7cdb820f92401ae30bd822725b5a","scripts":{"bump":"bump-version ./ --verify-script \"npm run test\" --npm-publish","lint":"eslint src test","test":"mocha --recursive --ui tdd test/*","build":"babel src --out-dir lib --copy-files","test-ci":"npm run test && npm run lint","prepublish":"postinstall-build lib --script build"},"_npmUser":{"name":"klipstein","email":"tobias@klpstn.com"},"repository":{"url":"git+https://github.com/glomex/cd-json-transformation.git","type":"git"},"_npmVersion":"5.3.0","description":"## Example","directories":{},"_nodeVersion":"8.1.3","dependencies":{"traverse":"^0.6.6","deep-equal":"^1.0.1","object-path":"^0.11.4","postinstall-build":"^5.0.1","@glomex/vvs-bump-version":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^4.0.1","eslint":"2.9.0","babel-cli":"^6.26.0","power-assert":"^1.4.4","babel-preset-es2015":"^6.24.1","eslint-plugin-react":"5.1.1","eslint-config-airbnb":"9.0.1","eslint-plugin-import":"1.8.0","eslint-plugin-jsx-a11y":"1.2.0"},"optionalDependencies":{"@glomex/vvs-bump-version":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/cd-json-transformation_2.1.1_1518086319169_0.06363744273672878","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-12-06T15:12:28.697Z","modified":"2026-06-16T13:42:59.087Z","1.0.0":"2017-12-06T15:12:28.697Z","1.0.1":"2017-12-07T16:26:21.027Z","2.0.0":"2017-12-14T08:58:19.441Z","2.0.1":"2017-12-18T11:31:01.307Z","2.0.2":"2017-12-18T11:35:40.719Z","2.1.0":"2018-01-25T14:09:58.753Z","2.1.1":"2018-02-08T10:38:39.885Z"},"bugs":{"url":"https://github.com/glomex/cd-json-transformation/issues"},"author":{"name":"Julian Hollmann","email":"julian.hollmann@glomex.com"},"license":"Unlicensed","homepage":"https://github.com/glomex/cd-json-transformation#readme","repository":{"url":"git+https://github.com/glomex/cd-json-transformation.git","type":"git"},"description":"## Example","maintainers":[{"email":"deno.vonselasinsky@glomex.com","name":"dvselas"},{"email":"tobias@klpstn.com","name":"klipstein"},{"email":"maxbanton@gmail.com","name":"maxbanton"},{"email":"herbert.dombrowski@glomex.com","name":"hrb-d"},{"email":"xazzzi@gmail.com","name":"xazzzi"},{"email":"julian.hollmann@gmail.com","name":"nerdbeere"},{"email":"mykyta.dudariev@gmail.com","name":"mykytadudariev"}],"readme":"# cd-json-transformation\n\n## Example\n\nLet's say we have the following existing object we want to transform:\n\n```javascript\nconst origin = {\n  id: 1,\n  config: {\n    flagA: true\n  },\n  values: {\n    valueA: 'foo',\n    valueB: 'bar'\n  },\n  arr: [0, 1, 2]\n};\n```\n\nNow we want to do the following operations on this object:\n- Keep original structure\n- *Remove* `values` but *copy* `values.valueA` to `value`\n- *Change* `config.flagA` to false\n\nFirst we use `generateTemplate` to get a template based on the original object:\n\n```javascript\n  const { generateTemplate } = require('json-transformation');\n\n  const template = generateTemplate(origin);\n```\n\nThe result looks like this:\n\n```javascript\nconst template = {\n  id: '{{id}}',\n  config: {\n    flagA: '{{config.flagA}}'\n  },\n  values: {\n    valueA: '{{values.valueA}}',\n    valueB: '{{values.valueB}}'\n  },\n  arr: [\n    '{{arr.0}}',\n    '{{arr.1}}',\n    '{{arr.2}}'\n  ]\n};\n```\n\nNow we make the required changes:\n\n```javascript\nconst template = {\n  id: '{{id}}',\n  config: {\n    flagA: false\n  },\n  value: '{{values.valueA}}',\n  arr: [\n    '{{arr.0}}',\n    '{{arr.1}}',\n    '{{arr.2}}'\n  ]\n};\n```\n\n…and use `transform` to create the new object:\n\n```javascript\n  const { transform } = require('json-transformation');\n\n  const newObj = transform(origin, template );\n```\n","readmeFilename":"README.md"}