Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

neg-config

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neg-config

node.js client for Newegg configuration service.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

neg-config

This is node.js client for Newegg configuration service.

Install

$ npm install neg-config

How to Use

var config = require('neg-config');

config.init({connectionString: '10.16.75.23:8481, 10.16.75.25:8481, 10.16.75.26:8481'})
.then(() =>{
  config.watchConfig('envionment', 'name', (data) => {
    console.log(data); //get data first time
  }, (data) => {
    console.log(data); //call back when data changed
  });
}).catch((error) => console.error(error));

License

MIT

Keywords

node.js

FAQs

Package last updated on 28 Nov 2019

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