Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cerulean

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cerulean

Wrappers, utilities, etc. for making working with Azure in Node.js even easier.

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

node-cerulean

Build Status Dependency Status Code Climate Test Coverage npm version

Wrappers, utilities, etc. for making working with Azure and Azure Storage even easier in Node.js

Introduction

The goal of this module is to provide wrappers, extensions and other utilities that make it easier to work with the Azure Node.js SDK, the storage SDK, and the cli. It is structured as follows:

  • /lib: Contains all wrappers and helpers. All exposed via /lib/index.js.
  • /examples: Contains specific examples on how to accomplish various common tasks, either using the vanilla SDK or using the wrappers herein.
  • /test/integration: Any additions to /lib should provide integration tests against the Azure framework.

Contributors could easily start out with an example of a common task in /examples, and if that was sufficiently complex it would motivate wrappers/helpers in /lib.

Azure Storage

Blob Leases

The initial release focuses on making it easier to work with leases in Azure Blob Storage. The Lease class provides a promise-based API for the acquisition, renewal, and release of leases, as well as an easy way to use the resulting lease for updating blob contents. The LeaseManager class makes it easy to manage a long-term lease on a blob (or a number of blobs), providing an event-based model that triggers on lease acquisition and loss. This makes it easy to do concurrent management tasks like leader election.

Both are described on my blog at .../leader-election-in-node-js-using-azure-blob-storage. An example of using the LeaseManager for leader election is at ./examples/leader_followers.js.

Keywords

FAQs

Package last updated on 18 Dec 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc