🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

azure-table

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-table

Simplified azure table service client for node and the browser.

0.3.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

azure-table

Azure table library for node & browsers

Usage

(azure_table can be used with component or requirejs but I am going to show the common js version).

var adapter = require('azure-table/adapter/shared_signature')({
  // XXX: see azure-sign package which can generate this for you
  host: 'http://...',
  query: '...'
});

// requests see test/server.js for an example server implementation.
var table = require('azure-table/request')(
  'myTable',
  adapter
)

// this is a superagent request
var request = table.queryEntities();
request.query('$top', 10);

request.end().then(function(res) {
  // res.body
});

Notes

CORS must be enabled for your account... From node there is no easy way to do this currently so I hacked together azure-cors which is terrible (but only needs to be run once) way to enable CORS for all methods and domains, etc...

Keywords

azure

FAQs

Package last updated on 11 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts