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

flex-plugins-api-client

Package Overview
Dependencies
Maintainers
1
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flex-plugins-api-client

Flex Plugins API Client

  • 0.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7.6K
increased by16.9%
Maintainers
1
Weekly downloads
 
Created
Source

Version Download License

Flex Plugins API Client

This package provides a NodeJS client for using the Public API endpoints.

Installation

Install this package using:

npm i -S flex-plugins-api-client

# Or use yarn
yarn add flex-plugins-api-client

Usage

Instantiate a PluginServiceHttp client by providing username/password (which can be AccountSid/AuthToken or API Key/Secret). Then instantiate each required client by passing this HTTP client to it:

import {
    PluginServiceHttpClient,
    PluginsClient,
    PluginVersionsClient
} from 'flex-plugins-api-client';

// Instantiate the HTTP client
const httpClient = new PluginServiceHttpClient(process.env.USERNAME, process.env.PASSWORD);

// Now instantiate each endpoint client you want to use
const pluginsClient = new PluginsClient(httpClient);
const pluginsVersionClient = new PluginVersionsClient(httpClient);

Keywords

FAQs

Package last updated on 26 May 2020

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