New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sbis3-cloud-config

Package Overview
Dependencies
Maintainers
4
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sbis3-cloud-config

Модуль для получения параметров из облака WI.SBIS

  • 3.1.9
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
45
increased by2150%
Maintainers
4
Weekly downloads
 
Created
Source

WI.SBIS Cloud config Helper

Что это?

Модуль для получения параметров из облака WI.SBIS

Установка

npm install sbis3-cloud-config

Использование

var cloudConfig = require('sbis3-cloud-config')
cloudConfig.init('config.json');
cloudConfig.once('init', function(cloudData) {
   //init handler
   console.log(cloudData.get('param-name'));
   cloudConfig.on('update', function(newCloudData, message) {
      // update handler
      console.log('Cloud was update:\n' + message);
      console.log(newCloudData.get('param-name'));
   });
});
cloudConfig.once('error',function(err) {
   console.error(err);
});

События

'init'

'error'

'update'

Стреляет при получении от облака новой конфигурации.

config.json

{
   "url": "",
   "login": "",
   "password": "",
   "port": "",
   "cat": ""
}

Получение конфигурации по системному имени службы

{
   "url": "",
   "login": "",
   "password": "",
   "name": "" // Имя службы
}

FAQs

Package last updated on 26 Mar 2018

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