{"_id":"@awboost/ddb-table-client","name":"@awboost/ddb-table-client","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@awboost/ddb-table-client","version":"0.1.0","type":"module","publishConfig":{"access":"public"},"author":{"name":"Gordon Leigh","email":"gordonmleigh@gmail.com"},"license":"MIT","homepage":"https://github.com/awboost/ddb-table-client#readme","repository":{"type":"git","url":"git+https://github.com/awboost/ddb-table-client.git"},"main":"./lib/cjs/index.js","module":"./lib/index.js","types":"lib/index.d.ts","exports":{".":"./lib/index.js"},"scripts":{"build":"npm run clean && npm run index && npm run compile && npm run compile:cjs && npm run lint && npm run docs","clean":"rm -rf lib/ *.tsbuildinfo","compile":"npm run index && tsc","compile:cjs":"tsc -p tsconfig.cjs.json","dev:docs":"concurrently --kill-others npm:watch:docs npm:serve:docs","docs":"typedoc","index":"node makeIndex.js src/","lint":"eslint src/ --ext=ts","serve:docs":"http-server docs/ -o","watch:compile":"tsc -w","watch:docs":"onchange src/**/*.ts -i -d 1000 -- npm run docs"},"dependencies":{"@aws-sdk/client-dynamodb":"^3.10.0","@aws-sdk/lib-dynamodb":"^3.10.0","@aws-sdk/smithy-client":"^3.10.0","@aws-sdk/types":"^3.10.0","@aws-sdk/util-dynamodb":"^3.10.0"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","builtin-modules":"^3.3.0","concurrently":"^5.3.0","eslint":"^8.9.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.4","eslint-plugin-prettier":"^4.0.0","http-server":"^0.12.3","onchange":"^7.0.2","prettier":"^2.1.2","typedoc":"^0.22.11","typescript":"^4.5.5"},"gitHead":"26dc47e2a38ec349448f10fe1053e2a14dbe8723","description":"This package is intended as an (almost) drop-in replacement for [@aws-sdk/lib-dynamodb](https://npmjs.com/package/@aws-sdk/lib-dynamodb), with the only difference being that you don't have to specify the table on every command. Instead you specify the tab","bugs":{"url":"https://github.com/awboost/ddb-table-client/issues"},"_id":"@awboost/ddb-table-client@0.1.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-6M1ldxkNVKjQCiLOZjIYr1Kp5tQbu+Jgo9QiAU0p46b8cDQyX18XAp1nzD+q2RSrxGuQuNROVGDklFEYjSxZiA==","shasum":"469058c3480e7760c36afde165f2324bb26debd6","tarball":"https://registry.npmjs.org/@awboost/ddb-table-client/-/ddb-table-client-0.1.0.tgz","fileCount":150,"unpackedSize":105066,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8PReqDhzOXo50GoBcAYoHhYenxBwPTrRg5TZrfsgzlwIgRow5Erk1CA0DIDz2KXxtUo6FMoEVqOzhbUAiVWMuvrg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVVsTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouTxAAmynXxq9Obxo3n/OphcZb+8FUJAnSA4a0g0nu8MM8KLsRRWWo\r\nM0dTI8KF19RkUGX2TjpIY+HO5N444MR6/jpoMW28DVb991VwMp7yk7iU9Of4\r\nmstBqvsRnrpkITk+Ps8n7Xha9BkXV67F+ZM9yoLty4ZCenINegQh/AFGOH8x\r\nI9vEq46k12cMfUxUX9t3RanRa4rRti9U6pWNYj1vJyvUiVMpKZO1/44WkxiN\r\nNAzmlFCe1qnwrvXVlkPN6gdeP2FXZ2DG9ZIoatuOVHNss24YvpWK/hJiiYZD\r\nbpaCz3D6IR/ZBEHH5eApgzh5D8mR81aAWbvsljd1vKREz0haIByl0Z4f/Tk9\r\nCQe/keSW5ZnSFBUjCp78eL3GsgH0gjKKw4XmXhIKe9wShjDL3KTdappHiquI\r\nbX2a2+Ja/SOIxG/X6cGYUQo0JnpEYsi7KwUfo1OgZiljzmWn3GtmEVvOTkT1\r\nZjOvt5RIygde0MBRoqxsu6l15Tz7fwtE/R6b1RPVtPL4+EbAiHD1cyEhXVCf\r\nBfrn+Gr/IbQ9+J8yWVCXOmxoK0TUE57EU07pYz9pdQ6vCevCBSUOaqoSVSJ0\r\nhrOn6qdPUvPi6jsacltp8i0TcMxPJ5RoD+TZB63q3VQlc6R7IAuce8rMFajf\r\n7+mx524ia+WcLf6gGe2rxoqOX6uD55nF0zo=\r\n=4eYT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"gordonmleigh","email":"gordonmleigh@gmail.com"},"directories":{},"maintainers":[{"name":"gordonmleigh","email":"gordonmleigh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ddb-table-client_0.1.0_1666538258879_0.7584632322952087"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-23T15:17:38.814Z","0.1.0":"2022-10-23T15:17:39.129Z","modified":"2022-10-23T15:17:39.286Z"},"maintainers":[{"name":"gordonmleigh","email":"gordonmleigh@gmail.com"}],"description":"This package is intended as an (almost) drop-in replacement for [@aws-sdk/lib-dynamodb](https://npmjs.com/package/@aws-sdk/lib-dynamodb), with the only difference being that you don't have to specify the table on every command. Instead you specify the tab","homepage":"https://github.com/awboost/ddb-table-client#readme","repository":{"type":"git","url":"git+https://github.com/awboost/ddb-table-client.git"},"author":{"name":"Gordon Leigh","email":"gordonmleigh@gmail.com"},"bugs":{"url":"https://github.com/awboost/ddb-table-client/issues"},"license":"MIT","readme":"# @awboost/ddb-table-client\n\nThis package is intended as an (almost) drop-in replacement for [@aws-sdk/lib-dynamodb](https://npmjs.com/package/@aws-sdk/lib-dynamodb), with the only difference being that you don't have to specify the table on every command. Instead you specify the table once for the client object.\n\nThis makes it easier to implement [single-table design](https://www.alexdebrie.com/posts/dynamodb-single-table/).\n\n## Documentation\n\nSee [documentation](https://awboost.github.io/ddb-table-client).\n\n## Example\n\n```typescript\nimport { DynamoDBClient } from '@aws-sdk/client-dynamodb';\nimport { DynamoDBTableClient, GetCommand } from '@awboost/ddb-table-client';\n\nconst client = new DynamoDBClient({});\n\nconst tableClient = DynamoDBTableClient.from(client, {\n  tableName: 'mytable',\n});\n\nconst result = await tableClient.send(\n  new GetCommand({\n    // look, no TableName property!\n    Key: { id: '1234' },\n  }),\n);\n```\n","readmeFilename":"README.md"}