{"_id":"sphere-products-availability-sync","_rev":"34-c9c25aa91a53b94bbb5c977e8ae06db9","name":"sphere-products-availability-sync","dist-tags":{"latest":"0.3.4"},"versions":{"0.2.1":{"name":"sphere-products-availability-sync","version":"0.2.1","author":{"name":"Nicola Molinari","email":"nicola.molinari@commercetools.de"},"_id":"sphere-products-availability-sync@0.2.1","maintainers":[{"name":"emmenko","email":"nicola.molinari@commercetools.de"}],"homepage":"https://github.com/sphereio/sphere-products-availability-sync","bugs":{"url":"https://github.com/sphereio/sphere-products-availability-sync/issues"},"bin":{"products-availability-sync":"./bin/products-availability-sync"},"dist":{"shasum":"359bd37fd08df28dff63b419824d3da7fa63562a","tarball":"https://registry.npmjs.org/sphere-products-availability-sync/-/sphere-products-availability-sync-0.2.1.tgz","integrity":"sha512-14KaikRTvmc1iXSNipUo7LvZviIueccoXByFTz1V3dp2vxqqSdG6nQA1IcKuJxboZ96pduFBqL/lCVLIR497jw==","signatures":[{"sig":"MEUCIQCakhHlPwzk1siCo5I9RNZuOZwh7US6sIVIaNMcnjAGmwIgarV7FAFurpwjU/SPkoCWuRuj0jByHZqqv8dphqLr5A4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"359bd37fd08df28dff63b419824d3da7fa63562a","engines":{"node":">= 0.10.0"},"gitHead":"2440d6fa7c99008dd62f09407716ecdbda434f21","private":false,"scripts":{"test":"grunt coverage","build":"grunt build","postpublish":"rm -rf lib"},"_npmUser":{"name":"emmenko","email":"nicola.molinari@commercetools.de"},"repository":{"url":"https://github.com/sphereio/sphere-products-availability-sync.git","type":"git"},"_npmVersion":"1.4.23","description":"Sync product variants availability to an extra field (in order to be searchable)","directories":{},"dependencies":{"q":"1.0.1","lynx":"0.2.0","optimist":"0.6.1","underscore":"1.6.0","sphere-node-utils":"0.4.13","sphere-node-client":"0.8.1"},"devDependencies":{"grunt":"0.4.4","statsd":"0.7.x","istanbul":"0.2.7","coveralls":"2.10.0","grunt-bump":"0.0.13","grunt-shell":"0.6.4","jasmine-node":"1.13.1","grunt-coffeelint":"0.0.8","sphere-coffeelint":"git://github.com/sphereio/sphere-coffeelint.git#master","grunt-contrib-clean":"0.5.0","grunt-contrib-watch":"0.6.1","grunt-contrib-coffee":"0.10.1","grunt-contrib-concat":"0.4.0"}},"0.3.0":{"name":"sphere-products-availability-sync","version":"0.3.0","author":{"name":"Nicola Molinari","email":"nicola.molinari@commercetools.de"},"_id":"sphere-products-availability-sync@0.3.0","maintainers":[{"name":"emmenko","email":"nicola.molinari@commercetools.de"}],"homepage":"https://github.com/sphereio/sphere-products-availability-sync","bugs":{"url":"https://github.com/sphereio/sphere-products-availability-sync/issues"},"bin":{"products-availability-sync":"./bin/products-availability-sync"},"dist":{"shasum":"a7f61a3ca671e64f465498561c89ea770eee95f9","tarball":"https://registry.npmjs.org/sphere-products-availability-sync/-/sphere-products-availability-sync-0.3.0.tgz","integrity":"sha512-17EwVLCM5LuYNBsxmrSKIIeDwNiKTJyN7r/ox3NqbsfUN+e238s6Ds6RhIVIR9IrpsIc4gkqF15UpRvX93spww==","signatures":[{"sig":"MEQCIGzmD4g86b/xwzhL/fM2AiIDTTdoN7TlnWSlCwRK+SDsAiB+TmSE4ZeKmQr2SJ+X43gakap/ot9gC7C6etOeOnRuiQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"a7f61a3ca671e64f465498561c89ea770eee95f9","engines":{"node":">= 0.10.0"},"gitHead":"76d8971d4f2625ec7a5819ed3331e2c4c47ecb10","private":false,"scripts":{"test":"grunt coverage","build":"grunt build"},"_npmUser":{"name":"emmenko","email":"nicola.molinari@commercetools.de"},"repository":{"url":"https://github.com/sphereio/sphere-products-availability-sync.git","type":"git"},"_npmVersion":"2.0.0","description":"Sync product variants availability to an extra field (in order to be searchable)","directories":{},"dependencies":{"lynx":"0.2.0","bluebird":"2.3.x","optimist":"0.6.1","underscore":"1.7.0","sphere-node-sdk":"1.0.0-rc1","sphere-node-utils":"0.5.1","underscore-mixins":"*"},"devDependencies":{"grunt":"0.4.4","statsd":"0.7.x","istanbul":"0.2.7","coveralls":"2.10.0","grunt-bump":"0.0.13","grunt-shell":"0.6.4","jasmine-node":"1.13.1","grunt-coffeelint":"0.0.8","sphere-coffeelint":"git://github.com/sphereio/sphere-coffeelint.git#master","grunt-contrib-clean":"0.5.0","grunt-contrib-watch":"0.6.1","grunt-contrib-coffee":"0.10.1","grunt-contrib-concat":"0.4.0"}},"0.3.1":{"name":"sphere-products-availability-sync","version":"0.3.1","author":{"name":"Nicola Molinari","email":"nicola.molinari@commercetools.de"},"_id":"sphere-products-availability-sync@0.3.1","maintainers":[{"name":"emmenko","email":"nicola.molinari@commercetools.de"},{"name":"hajoeichler","email":"eichler.hajo@gmail.com"}],"homepage":"https://github.com/sphereio/sphere-products-availability-sync","bugs":{"url":"https://github.com/sphereio/sphere-products-availability-sync/issues"},"bin":{"products-availability-sync":"./bin/products-availability-sync"},"dist":{"shasum":"e9c97f8a04c2eff2788fb8ec519febfc4474b07e","tarball":"https://registry.npmjs.org/sphere-products-availability-sync/-/sphere-products-availability-sync-0.3.1.tgz","integrity":"sha512-i20mps3mCtnmftL5TwehVvSACZpN3VxDXHvshRS/AxTFru7I/HjfNdgtMyGjJKx09zljcnXQC0dyAVBQgYhl2g==","signatures":[{"sig":"MEUCICjUqa5hpTyZud97wOxs0J4aZS6epI6q1ExzcPXLnACcAiEAi0ecNviPvMhvtwTndUgqxIVEzQYYziGqXj+LtOuXDeg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"e9c97f8a04c2eff2788fb8ec519febfc4474b07e","engines":{"node":">= 0.10.0"},"gitHead":"a732a48968f41d2e20eb0fe0d633126a8718f86c","private":false,"scripts":{"test":"grunt coverage","build":"grunt build"},"_npmUser":{"name":"hajoeichler","email":"eichler.hajo@gmail.com"},"repository":{"url":"https://github.com/sphereio/sphere-products-availability-sync.git","type":"git"},"_npmVersion":"1.4.28","description":"Sync product variants availability to an extra field (in order to be searchable)","directories":{},"dependencies":{"lynx":"0.2.0","bluebird":"2.3.x","optimist":"0.6.1","underscore":"1.7.0","sphere-node-sdk":"1.0.0-rc1","sphere-node-utils":"0.5.2","underscore-mixins":"*"},"devDependencies":{"grunt":"0.4.4","statsd":"0.7.x","istanbul":"0.2.7","coveralls":"2.10.0","grunt-bump":"0.0.13","grunt-shell":"0.6.4","jasmine-node":"1.13.1","grunt-coffeelint":"0.0.8","sphere-coffeelint":"git://github.com/sphereio/sphere-coffeelint.git#master","grunt-contrib-clean":"0.5.0","grunt-contrib-watch":"0.6.1","grunt-contrib-coffee":"0.10.1","grunt-contrib-concat":"0.4.0"}},"0.3.2":{"name":"sphere-products-availability-sync","version":"0.3.2","author":{"name":"Nicola Molinari","email":"nicola.molinari@commercetools.de"},"_id":"sphere-products-availability-sync@0.3.2","maintainers":[{"name":"emmenko","email":"nicola.molinari@commercetools.de"},{"name":"hajoeichler","email":"eichler.hajo@gmail.com"}],"homepage":"https://github.com/sphereio/sphere-products-availability-sync","bugs":{"url":"https://github.com/sphereio/sphere-products-availability-sync/issues"},"bin":{"products-availability-sync":"./bin/products-availability-sync"},"dist":{"shasum":"305920f91a5c27af4b62c5aa3ba664aaf4e829c2","tarball":"https://registry.npmjs.org/sphere-products-availability-sync/-/sphere-products-availability-sync-0.3.2.tgz","integrity":"sha512-NwW7Rrv5u6qHCsObmidUyNqSWS7xBRrYmamp0DzovmhlhEMkIPwlW7mypjHwklgEb1ggq9mG+86XV3orTfw11g==","signatures":[{"sig":"MEUCIGx266DLpNiRVHEGtgc/ReoBZybCyKoY5WmOYp70iRcYAiEA67SHiCG2j9Ob7lMRikndXxcW9aEhgZUupRmSuiMLzXw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"305920f91a5c27af4b62c5aa3ba664aaf4e829c2","engines":{"node":">= 0.10.0"},"gitHead":"8db5914d5a7c7863cd2d4b9af69e1a1788c76abf","private":false,"scripts":{"test":"grunt coverage","build":"grunt build"},"_npmUser":{"name":"emmenko","email":"nicola.molinari@commercetools.de"},"repository":{"url":"git+https://github.com/sphereio/sphere-products-availability-sync.git","type":"git"},"_npmVersion":"2.11.2","description":"Sync product variants availability to an extra field (in order to be searchable)","directories":{},"_nodeVersion":"0.12.3","dependencies":{"lynx":"0.2.0","bluebird":"2.9.33","optimist":"0.6.1","underscore":"1.8.3","sphere-node-sdk":"1.4.0","sphere-node-utils":"0.7.0","underscore-mixins":"*"},"devDependencies":{"grunt":"0.4.5","statsd":"0.7.x","istanbul":"0.2.7","coveralls":"2.10.0","grunt-bump":"0.0.13","grunt-shell":"0.6.4","jasmine-node":"1.14.5","grunt-coffeelint":"0.0.8","sphere-coffeelint":"github:sphereio/sphere-coffeelint#master","grunt-contrib-clean":"0.5.0","grunt-contrib-watch":"0.6.1","grunt-contrib-coffee":"0.13.0","grunt-contrib-concat":"0.5.1"}},"0.3.3":{"name":"sphere-products-availability-sync","version":"0.3.3","author":{"name":"Nicola Molinari","email":"nicola.molinari@commercetools.de"},"_id":"sphere-products-availability-sync@0.3.3","maintainers":[{"name":"emmenko","email":"nicola.molinari@commercetools.de"},{"name":"hajoeichler","email":"eichler.hajo@gmail.com"}],"homepage":"https://github.com/sphereio/sphere-products-availability-sync","bugs":{"url":"https://github.com/sphereio/sphere-products-availability-sync/issues"},"bin":{"products-availability-sync":"./bin/products-availability-sync"},"dist":{"shasum":"349859aca41196238523a7606b1b4575728f90f3","tarball":"https://registry.npmjs.org/sphere-products-availability-sync/-/sphere-products-availability-sync-0.3.3.tgz","integrity":"sha512-GBkZQ+wUULN3uxJ/SR3Q0yxh/CSjzOsdfr15KcNPQXu1kgmwhNeAArG7OqWz1ZWWoRHgmooLxLPT8twigLbXgg==","signatures":[{"sig":"MEQCICJFeUaeZx0oPetfvstiA1J4G2iylQDOb6P1LcH0JaIuAiBBlQadavjNpzuAQyAh2jAUjLIu0gIIScJoF36agW2QPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"349859aca41196238523a7606b1b4575728f90f3","engines":{"node":">= 0.10.0"},"gitHead":"beae7f8a777eebbebf34ca5a5152d1830952c9f4","private":false,"scripts":{"test":"grunt coverage","build":"grunt build"},"_npmUser":{"name":"emmenko","email":"nicola.molinari@commercetools.de"},"repository":{"url":"git+https://github.com/sphereio/sphere-products-availability-sync.git","type":"git"},"_npmVersion":"2.11.2","description":"Sync product variants availability to an extra field (in order to be searchable)","directories":{},"_nodeVersion":"0.12.3","dependencies":{"lynx":"0.2.0","bluebird":"2.9.33","optimist":"0.6.1","underscore":"1.8.3","sphere-node-sdk":"1.4.1","sphere-node-utils":"0.7.0","underscore-mixins":"*"},"devDependencies":{"grunt":"0.4.5","statsd":"0.7.x","istanbul":"0.2.7","coveralls":"2.10.0","grunt-bump":"0.0.13","grunt-shell":"0.6.4","jasmine-node":"1.14.5","grunt-coffeelint":"0.0.8","sphere-coffeelint":"github:sphereio/sphere-coffeelint#master","grunt-contrib-clean":"0.5.0","grunt-contrib-watch":"0.6.1","grunt-contrib-coffee":"0.13.0","grunt-contrib-concat":"0.5.1"}},"0.3.4":{"name":"sphere-products-availability-sync","version":"0.3.4","author":{"name":"Nicola Molinari","email":"nicola.molinari@commercetools.de"},"_id":"sphere-products-availability-sync@0.3.4","maintainers":[{"name":"emmenko","email":"nicola.molinari@commercetools.de"},{"name":"hajoeichler","email":"eichler.hajo@gmail.com"}],"homepage":"https://github.com/sphereio/sphere-products-availability-sync","bugs":{"url":"https://github.com/sphereio/sphere-products-availability-sync/issues"},"bin":{"products-availability-sync":"./bin/products-availability-sync"},"dist":{"shasum":"fec5c8f297cd632cfbd3744937fe996497fbf7dd","tarball":"https://registry.npmjs.org/sphere-products-availability-sync/-/sphere-products-availability-sync-0.3.4.tgz","integrity":"sha512-uTkLUhDXaGxslg6ytkkHrAJZhmr0XC4MmWal7NZkZ+N/mrPbx4wbO3Giao2r8qeYX2px8JB6HLoLW321Od4z6g==","signatures":[{"sig":"MEYCIQCqtQGnEtiWqrTYIDP/i5S5kEzzkihMAeA6UKXBxXOxLQIhAMlAJtW1UZiC29E+OJulm4SOFhmvMnK6hR85YQC2pcEL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"fec5c8f297cd632cfbd3744937fe996497fbf7dd","engines":{"node":">= 0.10.0"},"gitHead":"7b5b6b0da9cd6cd701aa841767efe484e676483d","private":false,"scripts":{"test":"grunt coverage","build":"grunt build"},"_npmUser":{"name":"emmenko","email":"nicola.molinari@commercetools.de"},"repository":{"url":"git+https://github.com/sphereio/sphere-products-availability-sync.git","type":"git"},"_npmVersion":"2.11.2","description":"Sync product variants availability to an extra field (in order to be searchable)","directories":{},"_nodeVersion":"0.12.3","dependencies":{"lynx":"0.2.0","bluebird":"2.9.33","optimist":"0.6.1","underscore":"1.8.3","sphere-node-sdk":"1.4.2","sphere-node-utils":"0.7.0","underscore-mixins":"*"},"devDependencies":{"grunt":"0.4.5","statsd":"0.7.x","istanbul":"0.2.7","coveralls":"2.10.0","grunt-bump":"0.0.13","grunt-shell":"0.6.4","jasmine-node":"1.14.5","grunt-coffeelint":"0.0.8","sphere-coffeelint":"github:sphereio/sphere-coffeelint#master","grunt-contrib-clean":"0.5.0","grunt-contrib-watch":"0.6.1","grunt-contrib-coffee":"0.13.0","grunt-contrib-concat":"0.5.1"}}},"time":{"created":"2014-09-16T13:47:06.933Z","modified":"2026-07-06T10:29:03.899Z","0.2.1":"2014-09-16T13:47:06.933Z","0.3.0":"2014-10-07T15:20:03.581Z","0.3.1":"2015-04-23T14:15:42.310Z","0.3.2":"2015-07-10T13:11:31.259Z","0.3.3":"2015-07-12T09:43:56.917Z","0.3.4":"2015-07-14T13:04:43.083Z"},"bugs":{"url":"https://github.com/sphereio/sphere-products-availability-sync/issues"},"author":{"name":"Nicola Molinari","email":"nicola.molinari@commercetools.de"},"homepage":"https://github.com/sphereio/sphere-products-availability-sync","repository":{"url":"git+https://github.com/sphereio/sphere-products-availability-sync.git","type":"git"},"description":"Sync product variants availability to an extra field (in order to be searchable)","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"}],"readme":"![SPHERE.IO icon](https://admin.sphere.io/assets/images/sphere_logo_rgb_long.png)\n\n# Node.js Products Availability Sync\n\n[![NPM](https://nodei.co/npm/sphere-products-availability-sync.png?downloads=true)](https://www.npmjs.org/package/sphere-products-availability-sync)\n\n[![Build Status](https://secure.travis-ci.org/sphereio/sphere-products-availability-sync.png?branch=master)](http://travis-ci.org/sphereio/sphere-products-availability-sync) [![NPM version](https://badge.fury.io/js/sphere-products-availability-sync.png)](http://badge.fury.io/js/sphere-products-availability-sync) [![Coverage Status](https://coveralls.io/repos/sphereio/sphere-products-availability-sync/badge.png?branch=master)](https://coveralls.io/r/sphereio/sphere-products-availability-sync?branch=master) [![Dependency Status](https://david-dm.org/sphereio/sphere-products-availability-sync.png?theme=shields.io)](https://david-dm.org/sphereio/sphere-products-availability-sync) [![devDependency Status](https://david-dm.org/sphereio/sphere-products-availability-sync/dev-status.png?theme=shields.io)](https://david-dm.org/sphereio/sphere-products-availability-sync#info=devDependencies)\n\nA script to update, for each product variant, the availability flag to a custom attribute (to allow searching by availability)\n\n```bash\n$ npm install -g sphere-products-availability-sync\n\n$ products-availability-sync --projectKey {PROJECT_KEY} --clientId {CLIENT_ID} --clientSecret {CLIENT_SECRET}\n\n# or for help about command options\n$ products-availability-sync\n```\n","readmeFilename":"README.md"}