{"_id":"@abbott-platform/botkit-storage-datastore","_rev":"1-96c7d1aea6512d249856df6e4e9efe34","name":"@abbott-platform/botkit-storage-datastore","description":"Google Cloud Datastore driver for Botkit","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@abbott-platform/botkit-storage-datastore","version":"1.0.1","description":"Google Cloud Datastore driver for Botkit","main":"index.js","scripts":{"pretest":"jscs ./","test":"istanbul cover --report lcov --dir coverage/ _mocha ./tests --grep ./tests/*.js -- --colors","publish":"npm publish --access public"},"keywords":["botkit","datastore","google cloud datastore"],"author":{"name":"Fábio Franco Uechi"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fabito/botkit-storage-datastore.git"},"bugs":{"url":"https://github.com/fabito/botkit-storage-datastore/issues"},"dependencies":{"google-cloud":"^0.53.0"},"devDependencies":{"coveralls":"^2.11.9","istanbul":"^0.4.1","jscs":"^2.8.0","mocha":"^2.3.4","proxyquire":"^1.7.3","should":"^8.0.2","should-sinon":"0.0.3","sinon":"^1.17.2"},"gitHead":"8bc82ee6238d88b5eec04652f529ca42a22d4c2b","homepage":"https://github.com/fabito/botkit-storage-datastore#readme","_id":"@abbott-platform/botkit-storage-datastore@1.0.1","_npmVersion":"5.3.0","_nodeVersion":"7.10.0","_npmUser":{"name":"patrinhani-ciandt","email":"patrinhani@ciandt.com"},"dist":{"integrity":"sha512-4Xau8NsWerjJrd5lGWXjH6PlzrYE5C1fJAxwhYadh0m3alrfYFrDF/cxtE2mMepGm3N76UpZ52r6ESo4cUM/HQ==","shasum":"63d90c9b0124360cb85fed5e831c867defdda529","tarball":"https://registry.npmjs.org/@abbott-platform/botkit-storage-datastore/-/botkit-storage-datastore-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHs1Yt1iL8PMYIgPR+Y6NF/BhPGbAbqNabqpNDbcDNsAAiA6Q5P08aJg3Lm8viuT2esOBwI2XStUzIZb1SxFCE6ZaQ=="}]},"maintainers":[{"name":"patrinhani-ciandt","email":"patrinhani@ciandt.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/botkit-storage-datastore-1.0.1.tgz_1505756465126_0.7103099834639579"}}},"readme":"[![Build Status](https://travis-ci.org/fabito/botkit-storage-datastore.svg?branch=master)](https://travis-ci.org/fabito/botkit-storage-datastore)\n[![Coverage Status](https://coveralls.io/repos/github/fabito/botkit-storage-datastore/badge.svg?branch=master)](https://coveralls.io/github/fabito/botkit-storage-datastore?branch=master)\n\n# botkit-storage-datastore\n\nA Google Cloud Datastore storage module for Botkit\n\n## Usage\n\nJust require `botkit-storage-datastore` and pass it a config with a `projectId` option.\nThen pass the returned storage when creating your Botkit controller. Botkit will do the rest.\n\nMake sure everything you store has an `id` property, that's what you'll use to look it up later.\n\n```\nvar Botkit = require('botkit'),\n    datastoreStorage = require('botkit-storage-datastore')({projectId: '...'}),\n    controller = Botkit.slackbot({\n        storage: datastoreStorage\n    });\n```\n\n```\n// then you can use the Botkit storage api, make sure you have an id property\nvar beans = {id: 'cool', beans: ['pinto', 'garbanzo']};\ncontroller.storage.teams.save(beans);\nbeans = controller.storage.teams.get('cool');\n```","maintainers":[{"name":"patrinhani-ciandt","email":"patrinhani@ciandt.com"}],"time":{"modified":"2022-04-04T10:57:12.755Z","created":"2017-09-18T17:41:05.333Z","1.0.1":"2017-09-18T17:41:05.333Z"},"homepage":"https://github.com/fabito/botkit-storage-datastore#readme","keywords":["botkit","datastore","google cloud datastore"],"repository":{"type":"git","url":"git+https://github.com/fabito/botkit-storage-datastore.git"},"author":{"name":"Fábio Franco Uechi"},"bugs":{"url":"https://github.com/fabito/botkit-storage-datastore/issues"},"license":"MIT","readmeFilename":"README.md"}