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

connection-manager

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connection-manager - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

.travis.yml

2

package.json
{
"name": "connection-manager",
"version": "0.1.0",
"version": "0.1.1",
"description": "Store, checkout & keepalive active connections from multiple locations in your code-base.",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -1,7 +0,15 @@

node-connection-manager
=======================
# node-connection-manager
Store and retreive active connections from multiple locations in your code-base, keep connection alive as long as there are references to it. Able to reconnect and manage listeners.
[![Build Status](http://img.shields.io/travis/silverbucket/node-connection-manager.svg?style=flat)](http://travis-ci.org/silverbucket/node-connection-manager)
[![Code Climate](http://img.shields.io/codeclimate/github/silverbucket/node-connection-manager.svg?style=flat)](https://codeclimate.com/github/silverbucket/node-connection-manager)
[![license](https://img.shields.io/npm/l/connection-manager.svg?style=flat)](https://npmjs.org/package/connection-manager)
[![downloads](http://img.shields.io/npm/dm/connection-manager.svg?style=flat)](https://npmjs.org/package/connection-manager)
[![release](http://img.shields.io/github/release/silverbucket/node-connection-manager.svg?style=flat)](https://github.com/silverbucket/node-connection-manager/releases)
Store and retreive active connections from multiple locations in your code-base, keep connection alive as long as there are references to it. One all references are lost, the connection is terminated using the provided callback.
This module was designed to be used in a situation where a single connection might need to be shared amongst several places in the code, and should be automatically destroyed once there are no more references.
```javascript

@@ -8,0 +16,0 @@ var cm = require('connection-manager')('MY_APPS_CONNECTIONS', {

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