https://github.com/dewhurstwill/async-azure-table-storage
An async wrapper for azure table storage
https://github.com/dewhurstwill/async-azure-table-storage
async azure azure-storage helper promise storage table
Last synced: about 2 months ago
JSON representation
An async wrapper for azure table storage
- Host: GitHub
- URL: https://github.com/dewhurstwill/async-azure-table-storage
- Owner: dewhurstwill
- License: mit
- Created: 2021-01-29T20:50:34.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-02T20:15:33.000Z (about 5 years ago)
- Last Synced: 2025-10-20T05:52:10.468Z (9 months ago)
- Topics: async, azure, azure-storage, helper, promise, storage, table
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/async-azure-table-storage
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# async azure table storage
An async wrapper for azure table storage based on the [Microsoft Azure Storage SDK](https://docs.microsoft.com/en-us/azure/cosmos-db/table-storage-how-to-use-nodejs#create-an-azure-service-account)
## Install 📦
```bash
npm install async-azure-table-storage
````
## Optional Environment Variables:
- AZURE_STORAGE_ACCOUNT
- AZURE_STORAGE_ACCOUNT_KEY
## Examples
> [Example 1](https://github.com/dewhurstwill/async-azure-table-storage/blob/main/example-1.js)
> [Example 2](https://github.com/dewhurstwill/async-azure-table-storage/blob/main/example-2.js)
## Functions
| Name | Example import | Required parameters |
|-|-|-|
| createTable | `const { createTable } = require('async-azure-table-storage');` | tableSvc, tableName |
| insertEntity | `const { insertEntity } = require('async-azure-table-storage');` | tableSvc, tableName, task |
| mergeEntity | `const { mergeEntity } = require('async-azure-table-storage');` | tableSvc, tableName, task |
| replaceEntity | `const { replaceEntity } = require('async-azure-table-storage');` | tableSvc, tableName, task |
| insertOrMergeEntity | `const { insertOrMergeEntity } = require('async-azure-table-storage');` | tableSvc, tableName, task |
| insertOrReplaceEntity | `const { insertOrReplaceEntity } = require('async-azure-table-storage');` | tableSvc, tableName, task |
| retrieveEntity | `const { retrieveEntity } = require('async-azure-table-storage');` | tableSvc, tableName, partitionKey, rowKey |
| queryEntities | `const { queryEntities } = require('async-azure-table-storage');` | tableSvc, tableName, query |
| deleteEntity | `const { deleteEntity } = require('async-azure-table-storage');` | tableSvc, tableName, task |
| deleteTable | `const { deleteTable } = require('async-azure-table-storage');` | tableSvc, tableName |
| cleanEntities | `const { cleanEntities } = require('async-azure-table-storage');` | entities |
## Supporting
Please consider supporting my projects, the more caffine I have, the quicker I can type.
[](https://www.buymeacoffee.com/willdewhurst)