{"_id":"serverless-dynamodb-client","_rev":"8-6035745adf06e5b04ef9c5cfd1d1b677","name":"serverless-dynamodb-client","description":"Serverless dynamodb client plugin","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"serverless-dynamodb-client","version":"0.0.1","keywords":["serverless framework plugin","serverless applications","serverless plugins","api gateway","lambda","dynamodb","dynamodb client","dynamodb local","aws","aws lambda","aws dynamodb","aws dynamodb client","amazon","amazon web services","serverless.com"],"author":{"name":"99xtechnology.com"},"license":"MIT","_id":"serverless-dynamodb-client@0.0.1","maintainers":[{"name":"99xt","email":"ashanf@99x.lk"}],"homepage":"https://github.com/99xt/serverless-dynamodb-client#readme","bugs":{"url":"https://github.com/99xt/serverless-dynamodb-client/issues"},"bin":{},"dist":{"shasum":"8fee82be56cb65d16c6bfe7ae9f1719a468ae055","tarball":"https://registry.npmjs.org/serverless-dynamodb-client/-/serverless-dynamodb-client-0.0.1.tgz","integrity":"sha512-54nHOGIHZHLdqTKUJHUAdyJEEXkL/3y2zYfa+TQg1UeCTTHaNDv8T/I3WXMfM+M4X+1KIj5n5kWUsvPJhycxDQ==","signatures":[{"sig":"MEUCIBgOwJ3JlPisM/BT17V4VmVVdWGwt4YymztwY/AdF2IzAiEAnJsWRtOSBZRF1UUp6vYrp/fbowtRQ7LfOLmLK/UWmh0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":"plugins\\serverless-dynamodb-client","_shasum":"8fee82be56cb65d16c6bfe7ae9f1719a468ae055","engines":{"node":">=4.0"},"gitHead":"b756cc36e101964d1df3f6109db22435f079005c","scripts":{"test":"echo \"Warning: no test specified\" && exit 0"},"_npmUser":{"name":"99xt","email":"ashanf@99x.lk"},"_resolved":"file:plugins\\serverless-dynamodb-client","repository":{"url":"git+https://github.com/99xt/serverless-dynamodb-client.git","type":"git"},"_npmVersion":"2.14.12","description":"Serverless dynamodb client plugin","_nodeVersion":"4.3.2","dependencies":{"aws-sdk":"^2.3.19"},"devDependencies":{"chai":"^3.2.0","mocha":"^2.2.5"},"_npmOperationalInternal":{"tmp":"tmp/serverless-dynamodb-client-0.0.1.tgz_1465823001700_0.19551435112953186","host":"packages-12-west.internal.npmjs.com"},"directories":{}},"0.0.2":{"name":"serverless-dynamodb-client","version":"0.0.2","keywords":["serverless framework plugin","serverless applications","serverless plugins","api gateway","lambda","dynamodb","dynamodb client","dynamodb local","aws","aws lambda","aws dynamodb","aws dynamodb client","amazon","amazon web services","serverless.com"],"author":{"name":"99xtechnology.com"},"license":"MIT","_id":"serverless-dynamodb-client@0.0.2","maintainers":[{"name":"99xt","email":"ashanf@99x.lk"}],"homepage":"https://github.com/99xt/serverless-dynamodb-client#readme","bugs":{"url":"https://github.com/99xt/serverless-dynamodb-client/issues"},"bin":{},"dist":{"shasum":"41a0200e1da74f50372cc4eeeca0a8aa9da82daa","tarball":"https://registry.npmjs.org/serverless-dynamodb-client/-/serverless-dynamodb-client-0.0.2.tgz","integrity":"sha512-fFqs2hcLVB6eOQBZIRQIWtmL1A4vbb8A5CxdP4Lo52e3dQtRcKFcKm3qwKH8+GIP4hLWm5wPjq1RK3xWzRNfcw==","signatures":[{"sig":"MEQCIBb6LomKRaSu3sssc08Rwo/LNznEXNUrrqnTJk6LWFFMAiBTGFJ5HjpEpQOkfDLdGtDlBL0Xi0LL5Yw1M+FFQG0HhA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":"plugins\\serverless-dynamodb-client","_shasum":"41a0200e1da74f50372cc4eeeca0a8aa9da82daa","engines":{"node":">=4.0"},"gitHead":"b0e4179c5a349df145dbb8c84040ea0b2f1e9ef2","scripts":{"test":"echo \"Warning: no test specified\" && exit 0"},"_npmUser":{"name":"99xt","email":"ashanf@99x.lk"},"_resolved":"file:plugins\\serverless-dynamodb-client","repository":{"url":"git+https://github.com/99xt/serverless-dynamodb-client.git","type":"git"},"_npmVersion":"2.14.12","description":"Serverless dynamodb client plugin","_nodeVersion":"4.3.2","dependencies":{"aws-sdk":"^2.3.19"},"devDependencies":{"chai":"^3.2.0","mocha":"^2.2.5"},"_npmOperationalInternal":{"tmp":"tmp/serverless-dynamodb-client-0.0.2.tgz_1465823158199_0.7347721310798079","host":"packages-12-west.internal.npmjs.com"},"directories":{}}},"time":{"created":"2016-06-13T13:03:22.235Z","modified":"2024-07-05T10:25:52.861Z","0.0.1":"2016-06-13T13:03:22.235Z","0.0.2":"2016-06-13T13:05:58.768Z"},"maintainers":[],"author":{"name":"99xtechnology.com"},"repository":{"url":"git+https://github.com/99xt/serverless-dynamodb-client.git","type":"git"},"keywords":["serverless framework plugin","serverless applications","serverless plugins","api gateway","lambda","dynamodb","dynamodb client","dynamodb local","aws","aws lambda","aws dynamodb","aws dynamodb client","amazon","amazon web services","serverless.com"],"license":"MIT","homepage":"https://github.com/99xt/serverless-dynamodb-client#readme","bugs":{"url":"https://github.com/99xt/serverless-dynamodb-client/issues"},"readme":"serverless-dynamodb-client\r\n=================================\r\n\r\n[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com)\r\n[![npm version](https://badge.fury.io/js/serverless-dynamodb-client.svg)](https://badge.fury.io/js/serverless-dynamodb-client)\r\n[![license](https://img.shields.io/npm/l/serverless-dynamodb-client.svg)](https://www.npmjs.com/package/serverless-dynamodb-client)\r\n\r\nThis Serverless 0.5.x plugin help you to call AWS Dynamodb SDK without switching between different dynamodb instances, whether you work with Dynamodb local or online in AWS.\r\n\r\n## This Plugin Requires\r\n*  [serverless-offline](https://github.com/dherault/serverless-offline)\r\n*  [serverless-dynamodb-local](https://github.com/99xt/serverless-dynamodb-local)\r\n\r\n\r\n## Using in your code\r\n\r\nFor each Lambda function, run the following command to add it to the npm package.json dependancies list\r\n\r\n`npm install --save serverless-dynamodb-client`\r\n\r\nThen you can use dynamodb in your code as follows\r\n\r\n```\r\nvar dynamodb = require('serverless-dynamodb-client');\r\n\r\nvar rawClient = dynamodb.raw;  // returns an instance of new AWS.DynamoDB()\r\n\r\nvar docClient = dynamodb.doc;  // return an instance of new AWS.DynamoDB.DocumentClient()\r\n```\r\n\r\nNote: You need to run the serverless-dynamodb-local with default port: 8000 for this library to work\r\n\r\n## References\r\n\r\n* Dynamodb SDK (rawClient): http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB.html\r\n* Dynamodb Document Client SDK (docClient): http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html\r\n","readmeFilename":"README.md","users":{"otbe":true}}