{"_id":"sphere-customer-import","_rev":"32-009ceb51ae9780759db276afd6345e2b","name":"sphere-customer-import","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"sphere-customer-import","version":"1.0.0","keywords":["ctp","commercetools","customer","import"],"author":{"name":"Philipp Sporrer","email":"philipp.sporrer@commercetools.de"},"license":"MIT","_id":"sphere-customer-import@1.0.0","maintainers":[{"name":"philippspo","email":"philipp.sporrer@planifica.de"}],"homepage":"https://github.com/sphereio/customer-import#readme","bugs":{"url":"https://github.com/sphereio/customer-import/issues"},"dist":{"shasum":"427c46bf09152921235396cdb7a976c9f0e4cde0","tarball":"https://registry.npmjs.org/sphere-customer-import/-/sphere-customer-import-1.0.0.tgz","integrity":"sha512-zLyhV+XYc7ndcSJHRn0oY8UpL8RKLZGxtbOBkwpUCMaz92kn+yALcPJls2TyrBhVAKIJQx/Z1Q3t2o+hMaDVOw==","signatures":[{"sig":"MEUCIQCerVlvPeEKwHgHCj5fASdVuqSp7R7xj6TJfogEGt6vzgIgQ06+dTeDTqcOfcmDwcy3ITjnayOGxfusoYpL27iupA0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","babel":{"presets":["es2015","stage-0"]},"config":{"ghooks":{"pre-commit":"npm run test:ci && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"427c46bf09152921235396cdb7a976c9f0e4cde0","gitHead":"ff5dd6b38951b286d777e47bb3a4a1c58444f0c7","scripts":{"lint":"eslint src tests","test":"mocha tests/**/*.js --compilers js:babel-core/register","build":"babel src --out-dir dist","commit":"git-cz","test:ci":"babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha -- tests/**/*.js","test:watch":"watch 'npm test' src/ tests/","check-coverage":"istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm run build && npm publish && semantic-release post"},"_npmUser":{"name":"philippspo","email":"philipp.sporrer@planifica.de"},"repository":{"url":"git+https://github.com/sphereio/customer-import.git","type":"git"},"_npmVersion":"2.15.4","description":"[![Travis][travis-badge]][travis-url] [![Codecov][codecov-badge]][codecov-url] [![npm][npm-lic-badge]][npm-lic-url] [![semantic-release][semantic-release-badge]][semantic-release-url] [![Commitizen friendly][commitizen-badge]][commitizen-url] [![NPM versi","directories":{},"_nodeVersion":"4.3.1","dependencies":{"ajv":"4.0.0","lodash":"4.6.1","highland":"2.7.1","underscore":"1.8.3","sphere-node-sdk":"1.10.1","underscore-mixins":"0.1.4"},"devDependencies":{"chai":"3.5.0","cuid":"1.3.8","mocha":"2.4.5","sinon":"1.17.3","watch":"0.17.1","eslint":"2.2.0","ghooks":"1.0.3","isparta":"4.0.0","istanbul":"0.4.2","babel-cli":"6.6.0","babel-core":"6.6.5","codecov.io":"0.1.6","commitizen":"2.6.1","babel-eslint":"5.0.0","babel-istanbul":"0.6.1","semantic-release":"^4.3.5","sphere-node-utils":"0.8.0","babel-preset-es2015":"6.6.0","babel-preset-stage-0":"6.5.0","cz-conventional-changelog":"1.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sphere-customer-import-1.0.0.tgz_1461918870573_0.5058070044033229","host":"packages-16-east.internal.npmjs.com"}},"1.0.1":{"name":"sphere-customer-import","version":"1.0.1","keywords":["ctp","commercetools","customer","import"],"author":{"name":"Philipp Sporrer","email":"philipp.sporrer@commercetools.de"},"license":"MIT","_id":"sphere-customer-import@1.0.1","maintainers":[{"name":"philippspo","email":"philipp.sporrer@planifica.de"}],"homepage":"https://github.com/sphereio/customer-import#readme","bugs":{"url":"https://github.com/sphereio/customer-import/issues"},"dist":{"shasum":"2aed3c9fb5974e3b2a3b8cdd33ecd3fdb4f9cea1","tarball":"https://registry.npmjs.org/sphere-customer-import/-/sphere-customer-import-1.0.1.tgz","integrity":"sha512-MSLv9b+R2v1yr+lVe1m29q8gZw15KliSySl4IcZtrBiN1YT2fFNZNnDE1r7ZFFdYwQtyJO0ccjE/H/rcGgfjKg==","signatures":[{"sig":"MEUCIAHyKJpe49r7+6on1qHYUiiE+YYJcZtOKlm0Imp8TwmmAiEA7xrh0foxcJWwmJmCYA+qetghhX5hNTRQI0gQBTEgORM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","babel":{"presets":["es2015","stage-0"]},"config":{"ghooks":{"pre-commit":"npm run test:ci && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"2aed3c9fb5974e3b2a3b8cdd33ecd3fdb4f9cea1","gitHead":"8819034eb9b77b9bfea86064cf3f77a37c6c9426","scripts":{"lint":"eslint src tests","test":"mocha tests/**/*.js --compilers js:babel-core/register","build":"babel src --out-dir dist","commit":"git-cz","test:ci":"babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha -- tests/**/*.js","test:watch":"watch 'npm test' src/ tests/","check-coverage":"istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm run build && npm publish && semantic-release post"},"_npmUser":{"name":"philippspo","email":"philipp.sporrer@planifica.de"},"repository":{"url":"git+https://github.com/sphereio/customer-import.git","type":"git"},"_npmVersion":"2.15.4","description":"[![Travis][travis-badge]][travis-url] [![Codecov][codecov-badge]][codecov-url] [![npm][npm-lic-badge]][npm-lic-url] [![semantic-release][semantic-release-badge]][semantic-release-url] [![Commitizen friendly][commitizen-badge]][commitizen-url] [![NPM versi","directories":{},"_nodeVersion":"4.3.1","dependencies":{"ajv":"4.0.0","lodash":"4.6.1","highland":"2.7.1","underscore":"1.8.3","sphere-node-sdk":"1.10.1","underscore-mixins":"0.1.4"},"devDependencies":{"chai":"3.5.0","cuid":"1.3.8","mocha":"2.4.5","sinon":"1.17.3","watch":"0.17.1","eslint":"2.2.0","ghooks":"1.0.3","isparta":"4.0.0","istanbul":"0.4.2","babel-cli":"6.6.0","babel-core":"6.6.5","codecov.io":"0.1.6","commitizen":"2.6.1","babel-eslint":"5.0.0","babel-istanbul":"0.6.1","semantic-release":"^4.3.5","sphere-node-utils":"0.8.0","babel-preset-es2015":"6.6.0","babel-preset-stage-0":"6.5.0","cz-conventional-changelog":"1.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sphere-customer-import-1.0.1.tgz_1462352838829_0.5417261272668839","host":"packages-16-east.internal.npmjs.com"}},"1.0.2":{"name":"sphere-customer-import","version":"1.0.2","keywords":["ctp","commercetools","customer","import"],"author":{"name":"Philipp Sporrer","email":"philipp.sporrer@commercetools.de"},"license":"MIT","_id":"sphere-customer-import@1.0.2","maintainers":[{"name":"philippspo","email":"philipp.sporrer@planifica.de"}],"homepage":"https://github.com/sphereio/customer-import#readme","bugs":{"url":"https://github.com/sphereio/customer-import/issues"},"dist":{"shasum":"3e9962188a96cad439494285b7fda9f093af78a2","tarball":"https://registry.npmjs.org/sphere-customer-import/-/sphere-customer-import-1.0.2.tgz","integrity":"sha512-o/U1/wWnl9mKRfrTErb+3Q4Z7AFkSkRN+OUkqtOi8HNKfN7JAGGcHM08rX3fHHGR2wMyeJd1VKIcE3LlgRfilw==","signatures":[{"sig":"MEQCICtxd7nGMLjCiR57rz8YI8AwSWNRUbjYFc79Ns8Dvkv1AiAEOz5DCb2DvQ6Ms1riDL786vI9wcb/0lMAwQUdxDLq0w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","babel":{"presets":["es2015","stage-0"]},"config":{"ghooks":{"pre-commit":"npm run test:ci && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"3e9962188a96cad439494285b7fda9f093af78a2","gitHead":"fc913e8e95ee529e8016ab2eb16c7b9592ccfebf","scripts":{"lint":"eslint src tests","test":"mocha tests/**/*.js --compilers js:babel-core/register","build":"babel src --out-dir dist","commit":"git-cz","test:ci":"babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha -- tests/**/*.js","test:watch":"watch 'npm test' src/ tests/","check-coverage":"istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm run build && npm publish && semantic-release post"},"_npmUser":{"name":"philippspo","email":"philipp.sporrer@planifica.de"},"repository":{"url":"git+https://github.com/sphereio/customer-import.git","type":"git"},"_npmVersion":"2.15.5","description":"[![Travis][travis-badge]][travis-url] [![Codecov][codecov-badge]][codecov-url] [![npm][npm-lic-badge]][npm-lic-url] [![semantic-release][semantic-release-badge]][semantic-release-url] [![Commitizen friendly][commitizen-badge]][commitizen-url] [![NPM versi","directories":{},"_nodeVersion":"4.3.1","dependencies":{"ajv":"4.0.0","lodash":"4.6.1","highland":"2.7.1","underscore":"1.8.3","sphere-node-sdk":"1.10.1","underscore-mixins":"0.1.4"},"devDependencies":{"chai":"3.5.0","cuid":"1.3.8","mocha":"2.4.5","sinon":"1.17.3","watch":"0.17.1","eslint":"2.2.0","ghooks":"1.0.3","isparta":"4.0.0","istanbul":"0.4.2","babel-cli":"6.6.0","babel-core":"6.6.5","codecov.io":"0.1.6","commitizen":"2.6.1","babel-eslint":"5.0.0","babel-istanbul":"0.6.1","semantic-release":"^4.3.5","sphere-node-utils":"0.8.0","babel-preset-es2015":"6.6.0","babel-preset-stage-0":"6.5.0","cz-conventional-changelog":"1.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sphere-customer-import-1.0.2.tgz_1462806610954_0.259664659621194","host":"packages-16-east.internal.npmjs.com"}},"1.0.3":{"name":"sphere-customer-import","version":"1.0.3","keywords":["ctp","commercetools","customer","import"],"author":{"name":"Philipp Sporrer","email":"philipp.sporrer@commercetools.de"},"license":"MIT","_id":"sphere-customer-import@1.0.3","maintainers":[{"name":"philippspo","email":"philipp.sporrer@planifica.de"}],"homepage":"https://github.com/sphereio/customer-import#readme","bugs":{"url":"https://github.com/sphereio/customer-import/issues"},"dist":{"shasum":"d0fbfbc7aa7d5d72de7e0f1c71f0f99e931adeb1","tarball":"https://registry.npmjs.org/sphere-customer-import/-/sphere-customer-import-1.0.3.tgz","integrity":"sha512-kbjljYicHHCOvntcMBdeHlpSFLe9PjPsVkAVONiuKkyq0GHHr08PPBkZnwT3hemNuMkedmgr0f2IM4WFJ+9Mbg==","signatures":[{"sig":"MEYCIQC9e7yejRnESLMMOgR5cxeUUukZtPKNiXpLl8UWOZq4DQIhAOSLdWceDOyRmv9lcc60x/4fvEpRlgz2/rsGL1d6GP2s","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","babel":{"presets":["es2015","stage-0"]},"config":{"ghooks":{"pre-commit":"npm run test:ci && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"d0fbfbc7aa7d5d72de7e0f1c71f0f99e931adeb1","gitHead":"651b03561dcbd5a2590e5212b9d1da5b88cb6b9b","scripts":{"lint":"eslint src tests","test":"mocha tests/**/*.js --compilers js:babel-core/register","build":"babel src --out-dir dist","commit":"git-cz","test:ci":"babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha -- tests/**/*.js","test:watch":"watch 'npm test' src/ tests/","check-coverage":"istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm run build && npm publish && semantic-release post"},"_npmUser":{"name":"philippspo","email":"philipp.sporrer@planifica.de"},"repository":{"url":"git+https://github.com/sphereio/customer-import.git","type":"git"},"_npmVersion":"2.15.5","description":"[![Travis][travis-badge]][travis-url] [![Codecov][codecov-badge]][codecov-url] [![npm][npm-lic-badge]][npm-lic-url] [![semantic-release][semantic-release-badge]][semantic-release-url] [![Commitizen friendly][commitizen-badge]][commitizen-url] [![NPM versi","directories":{},"_nodeVersion":"4.3.1","dependencies":{"ajv":"4.0.0","lodash":"4.6.1","highland":"2.7.1","underscore":"1.8.3","sphere-node-sdk":"1.10.1","underscore-mixins":"0.1.4"},"devDependencies":{"chai":"3.5.0","cuid":"1.3.8","mocha":"2.4.5","sinon":"1.17.3","watch":"0.17.1","eslint":"2.2.0","ghooks":"1.0.3","isparta":"4.0.0","istanbul":"0.4.2","babel-cli":"6.6.0","babel-core":"6.6.5","codecov.io":"0.1.6","commitizen":"2.6.1","babel-eslint":"5.0.0","babel-istanbul":"0.6.1","semantic-release":"^4.3.5","sphere-node-utils":"0.8.0","babel-preset-es2015":"6.6.0","babel-preset-stage-0":"6.5.0","cz-conventional-changelog":"1.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sphere-customer-import-1.0.3.tgz_1462809598412_0.041626503225415945","host":"packages-12-west.internal.npmjs.com"}},"1.0.4":{"name":"sphere-customer-import","version":"1.0.4","keywords":["ctp","commercetools","customer","import"],"author":{"name":"Philipp Sporrer","email":"philipp.sporrer@commercetools.de"},"license":"MIT","_id":"sphere-customer-import@1.0.4","maintainers":[{"name":"philippspo","email":"philipp.sporrer@planifica.de"}],"homepage":"https://github.com/sphereio/customer-import#readme","bugs":{"url":"https://github.com/sphereio/customer-import/issues"},"dist":{"shasum":"e95248f892f35ee13efe32ba41743620fff6a556","tarball":"https://registry.npmjs.org/sphere-customer-import/-/sphere-customer-import-1.0.4.tgz","integrity":"sha512-1DN004Hryd7CecZLyrJyx9BtZC3rG5ak2NQ+2qIKhWb/aYtiUETh8U2zSqPzp3+HD1j76qXLKXVfprJq/j1zrw==","signatures":[{"sig":"MEQCIDuJmRgRFSDZy+TGG/JSKp3FQBupJaZWaYKnk1mziOBUAiB79EN1d16ViMlc7dG6i441y297JlTpHDmFnSOJ2Dd9xA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","babel":{"presets":["es2015","stage-0"]},"config":{"ghooks":{"pre-commit":"npm run test:ci && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"e95248f892f35ee13efe32ba41743620fff6a556","gitHead":"4f74d13b5695afa1611e1e232a98e4f6d190cdfe","scripts":{"lint":"eslint src tests","test":"mocha tests/**/*.js --compilers js:babel-core/register","build":"babel src --out-dir dist","commit":"git-cz","test:ci":"babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha -- tests/**/*.js","test:watch":"watch 'npm test' src/ tests/","check-coverage":"istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm run build && npm publish && semantic-release post"},"_npmUser":{"name":"philippspo","email":"philipp.sporrer@planifica.de"},"repository":{"url":"git+https://github.com/sphereio/customer-import.git","type":"git"},"_npmVersion":"2.15.8","description":"[![Travis][travis-badge]][travis-url] [![Codecov][codecov-badge]][codecov-url] [![npm][npm-lic-badge]][npm-lic-url] [![semantic-release][semantic-release-badge]][semantic-release-url] [![Commitizen friendly][commitizen-badge]][commitizen-url] [![NPM versi","directories":{},"_nodeVersion":"4.3.1","dependencies":{"ajv":"4.0.0","lodash":"4.6.1","highland":"2.7.1","underscore":"1.8.3","sphere-node-sdk":"1.10.1","underscore-mixins":"0.1.4"},"devDependencies":{"chai":"3.5.0","cuid":"1.3.8","mocha":"2.4.5","sinon":"1.17.3","watch":"0.17.1","eslint":"2.2.0","ghooks":"1.0.3","isparta":"4.0.0","istanbul":"0.4.2","babel-cli":"6.6.0","babel-core":"6.6.5","codecov.io":"0.1.6","commitizen":"2.6.1","babel-eslint":"5.0.0","babel-istanbul":"0.6.1","semantic-release":"^4.3.5","sphere-node-utils":"0.8.0","babel-preset-es2015":"6.6.0","babel-preset-stage-0":"6.5.0","cz-conventional-changelog":"1.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sphere-customer-import-1.0.4.tgz_1467028261906_0.5262104473076761","host":"packages-12-west.internal.npmjs.com"}},"1.0.5":{"name":"sphere-customer-import","version":"1.0.5","keywords":["ctp","commercetools","customer","import"],"author":{"name":"Philipp Sporrer","email":"philipp.sporrer@commercetools.de"},"license":"MIT","_id":"sphere-customer-import@1.0.5","maintainers":[{"name":"adnasa","email":"konjuku@gmail.com"},{"name":"commercetools-admin","email":"npmjs@commercetools.com"},{"name":"daern91","email":"daern91@gmail.com"},{"name":"emmenko","email":"emmenko@gmail.com"},{"name":"hajoeichler","email":"eichler.hajo@gmail.com"},{"name":"philippspo","email":"philipp.sporrer@planifica.de"},{"name":"tdeekens","email":"nerd@tdeekens.name"},{"name":"yanns","email":"yann.simon.fr@gmail.com"}],"homepage":"https://github.com/sphereio/customer-import#readme","bugs":{"url":"https://github.com/sphereio/customer-import/issues"},"dist":{"shasum":"0fc631755b3219d07082b0721e22718689a6aef8","tarball":"https://registry.npmjs.org/sphere-customer-import/-/sphere-customer-import-1.0.5.tgz","fileCount":23,"integrity":"sha512-cgYAcy8LTtmfvPmsysnfYzFBWUcGsR4b5A1bQJ346aqlLBnRn2bm+UBNoeSl3d07lbi9vXKVkqnkambl1v4R6Q==","signatures":[{"sig":"MEYCIQDQSdx8X+AE3dW+ru0Yk2y51kYU+BO7YteA+xBa70bA5gIhAPhfbpWGUFeuTFLgao27C3ZL5szBDO8q1Ada9Au4Lo9b","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":367275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9pHwCRA9TVsSAnZWagAASnsP/3Yp3uFkqvn/e+ZipOCo\nD9h8lLWWXqpGdf5d/V3IdEwbrru09a9lpCOQsgGQ0JI34mA+eumg/TDCbBjz\nHA2Hm3AIKJq/jhbxyAKcIpDDH6A27ctN/tA6HYbpbKCSqSyE5TEaXBxu4M1I\njkg+N/K3s1nPxTYR8JNIvI+8yEdQiW5QCfEc/f8O6ZBH1jUtOYULWqYRpcRz\n3BNkgpcrGo7oCUsOI2bomdHgiMAOyvOUqDmo+rPkySQ18Vrm3WgzVOgA3GXz\n7Wll6641IkV61I82x+EOQj0V+fu58ARwylhv55EPQIbiFoRIb8snYLq5rhO+\naEhi1Ob0rpXOcQyFv0jlWljXIRIZVIxllFkHCnjnHP3H66BH2SWgTycJzByH\n0D+i5JXLGbP2Neg9rUQT+Gq/eMwp2QUDBiE1MHYoWM/79rWAFk2fRVducFga\ndS7GWm549QlxMC7KW2LGd6A89gD35Q72WzVgLNnj5REGw3etahsQTX13HexE\n7qr07KLdc2yqwygfyaa6qbzPOyCoxupqDgBlrs7y4Y52vtJWVaNh5m0HvGi3\naruP560Uzur3vvdZKFB0mPmj9Jeyu/Q8D44xi4wncTJZgYLMdt4SQLDRlBGH\n55AT+PNT/KOiN+8WMaRbaN0pkGJnl3FUa0HmhTdJHrj+xZofnwYStMvmm1hS\nBeQx\r\n=CEfF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":".","babel":{"presets":["es2015","stage-0"]},"config":{"ghooks":{"pre-commit":"npm run test:ci && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"0fc631755b3219d07082b0721e22718689a6aef8","gitHead":"cbcdac6a6f470a55f5c4e7623ee5e6d0cbed7213","scripts":{"lint":"eslint src tests","test":"mocha tests/**/*.js --compilers js:babel-core/register","build":"babel src --out-dir dist","commit":"git-cz","test:ci":"babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha -- tests/**/*.js","test:watch":"watch 'npm test' src/ tests/","check-coverage":"istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm run build && npm publish && semantic-release post"},"_npmUser":{"name":"daern91","email":"daern91@gmail.com"},"repository":{"url":"git+https://github.com/sphereio/customer-import.git","type":"git"},"_npmVersion":"2.15.12","description":"[![Travis][travis-badge]][travis-url] [![Codecov][codecov-badge]][codecov-url] [![npm][npm-lic-badge]][npm-lic-url] [![semantic-release][semantic-release-badge]][semantic-release-url] [![Commitizen friendly][commitizen-badge]][commitizen-url] [![NPM versi","directories":{},"_nodeVersion":"6.14.4","dependencies":{"ajv":"4.0.0","lodash":"^4.17.11","highland":"2.7.1","underscore":"1.8.3","sphere-node-sdk":"^2.1.2","underscore-mixins":"0.1.4"},"_hasShrinkwrap":false,"devDependencies":{"chai":"3.5.0","cuid":"1.3.8","mocha":"^5.2.0","sinon":"1.17.3","watch":"0.17.1","eslint":"^5.9.0","ghooks":"1.0.3","codecov":"^3.1.0","isparta":"4.0.0","istanbul":"^0.4.5","babel-cli":"^6.26.0","babel-core":"6.26.3","commitizen":"^3.0.4","babel-eslint":"5.0.0","babel-istanbul":"0.12.2","semantic-release":"^4.3.5","sphere-node-utils":"^1.0.0","babel-preset-es2015":"6.6.0","babel-preset-stage-0":"6.5.0","cz-conventional-changelog":"1.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sphere-customer-import_1.0.5_1542885872260_0.9542618319236258","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-04-29T08:34:31.498Z","modified":"2026-07-06T10:29:24.572Z","1.0.0":"2016-04-29T08:34:31.498Z","1.0.1":"2016-05-04T09:07:20.056Z","1.0.2":"2016-05-09T15:10:12.217Z","1.0.3":"2016-05-09T16:00:01.148Z","1.0.4":"2016-06-27T11:51:04.317Z","1.0.5":"2018-11-22T11:24:32.420Z"},"bugs":{"url":"https://github.com/sphereio/customer-import/issues"},"author":{"name":"Philipp Sporrer","email":"philipp.sporrer@commercetools.de"},"license":"MIT","homepage":"https://github.com/sphereio/customer-import#readme","keywords":["ctp","commercetools","customer","import"],"repository":{"url":"git+https://github.com/sphereio/customer-import.git","type":"git"},"description":"[![Travis][travis-badge]][travis-url] [![Codecov][codecov-badge]][codecov-url] [![npm][npm-lic-badge]][npm-lic-url] [![semantic-release][semantic-release-badge]][semantic-release-url] [![Commitizen friendly][commitizen-badge]][commitizen-url] [![NPM versi","maintainers":[{"email":"npmjs@commercetools.com","name":"commercetools-admin"},{"email":"emmenko@gmail.com","name":"emmenko"},{"email":"eichler.hajo@gmail.com","name":"hajoeichler"},{"email":"nerd@tdeekens.name","name":"tdeekens"},{"email":"jens.schulze@commercetools.com","name":"jenschude"},{"email":"chukwuemeka.ajima@commercetools.com","name":"chukwuemeka"},{"email":"philipp.sporrer@planifica.de","name":"philippspo"}],"readme":"# customer-import\n\n[![Travis][travis-badge]][travis-url]\n[![Codecov][codecov-badge]][codecov-url]\n[![npm][npm-lic-badge]][npm-lic-url]\n[![semantic-release][semantic-release-badge]][semantic-release-url]\n[![Commitizen friendly][commitizen-badge]][commitizen-url]\n[![NPM version][npm-image]][npm-url]\n\nA library that helps with importing [customers](http://dev.commercetools.com/http-api-projects-customers.html) into the Commercetools Platform.  \nThis library is built to be used in conjunction with [sphere-node-cli](https://github.com/sphereio/sphere-node-cli).\n\n## Features\n- Import customers to your CTP project\n- Pre-validate customers using a [JSON schema](https://github.com/sphereio/customer-import/blob/master/src/schema.js)\n- generating a password for every new customer\n- resolve a customer group name with the corresponding customer group reference\n- create a customer group for the given name if none exists yet\n- setting a default shipping and billing address\n\n## Configuration\nThe configuration object may contain:\n- `sphereClientConfig`: see the [sphere-node-sdk docs](http://sphereio.github.io/sphere-node-sdk/) for more information on this\n- `defaultShippingAddress`: Index of the address in the customer's `addresses` list that should be used as the shipping address\n- `defaultBillingAddress`: Index of the address in the customer's `addresses` list that should be used as the billing address\n\n## Usage with `sphere-node-cli`\n\nYou can use the customer import from the command line using the [`sphere-node-cli`](https://github.com/sphereio/sphere-node-cli).\nIn order for the cli to import customer, the file to import from must be JSON and follow the this structure:\n```\n{\n  \"customers\": [\n    <customer>,\n    <customer>,\n    ...\n  ]\n}\n```\nThen you can import this file using the cli:\n```bash\nsphere-node-cli -t customer -p my-project-key -f /sample_dir/customers.json\n```\nYou can pass a custom configuration as described above via the `-c` operator:\n```bash\nsphere-node-cli -t customer -p my-project-key -f /sample_dir/customers.json -c '{ \"defaultShippingAddress\": 0, \"defaultBillingAddress\": 0 }'\n```\n\n## Direct usage\n\nIf you want more control, you can also use this library directly in JavaScript. To do this you first need to install it:\n```bash\nnpm install ct-customer-import --save-dev\n```\nThen you can use it to import customers like so:\n```js\nimport CustomerImport from 'ct-customer-import'\n\nconst customer = {\n  email: '<some-email>'\n}\nconst config = {\n  sphereClientConfig: {\n    config: {\n      project_key: <PROJECT_KEY>,\n      client_id: '*********',\n      client_secret: '*********'\n    },\n    defaultShippingAddress: 0, defaultBillingAddress: 0\n  }\n}\nconst customerImport = CustomerImport(config)\n\n// load customer groups so they can be resolved to references\ncustomerImport.loadCustomerGroups()\n.then(() => customerImport.importCustomer(customer))\n.then(() => {\n  // done importing the customer\n  // look at the summary to see errors\n  customerImport.summary\n  // the summary hast the following structure\n  // {\n  //   errors: [],\n  //   inserted: [<some-email>],\n  //   successfullImports: 1\n  // }\n})\n```\n\n[travis-badge]: https://img.shields.io/travis/sphereio/customer-import.svg?style=flat-square\n[travis-url]: https://travis-ci.org/sphereio/customer-import\n\n[codecov-badge]: https://img.shields.io/codecov/c/github/sphereio/customer-import.svg?style=flat-square\n[codecov-url]: https://codecov.io/github/sphereio/customer-import\n\n[npm-lic-badge]: https://img.shields.io/npm/l/sphere-customer-import.svg?style=flat-square\n[npm-lic-url]: http://spdx.org/licenses/MIT\n\n[semantic-release-badge]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\n[semantic-release-url]: https://github.com/semantic-release/semantic-release\n\n[commitizen-badge]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\n[commitizen-url]: http://commitizen.github.io/cz-cli/\n\n[npm-url]: https://npmjs.org/package/sphere-customer-import\n[npm-image]: http://img.shields.io/npm/v/sphere-customer-import.svg?style=flat-square\n[npm-downloads-image]: https://img.shields.io/npm/dt/sphere-customer-import.svg?style=flat-square\n","readmeFilename":"README.md"}