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

config-server-lite-client

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

config-server-lite-client

Client API for config-server

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

config-server-client

This is a client library for config-server-lite application for nodejs and browser environments.

Installation

With yarn

yarn install config-server-lite-client

With npm

npm install config-server-lite-client

This library uses axios as peerDependency for requests. Please provide one in your project.

Usage

Nodejs

var clientFactory = require("config-server-lite-client"),
client = new clientFactory("http://config-server-host:port/api", "clientapikey");

client.readConfig().then(configJson => console.log(configJson));

Browser with Webpack

import ConfigServerClient from "config-server-lite-client";

const client = new ConfigServerClient("http://config-server-host:port/api", "clientapikey");

client.readConfig().then(configJson => console.log(configJson));

FAQs

Package last updated on 04 Sep 2017

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