Socket
Socket
Sign inDemoInstall

electron-fetch-transport

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-fetch-transport

A transport for using the node-slack-sdk with Electron


Version published
Maintainers
1
Created
Source

electron-fetch-transport

A transport for node-slack-sdk that uses Electron's net module. You can use this in place of the default request transport to allow the the web & rtm clients to reap the benefits of Chromium's networking stack from Electron's main process.

Installation

npm i electron-fetch-transport --save

Usage

import { RtmClient } from '@slack/client';
import netTransport from 'electron-fetch-transport';

// Use Electron's `net` module for requests
const rtm = new RtmClient(token, {
  transport: netTransport,
  ...
});

Keywords

FAQs

Package last updated on 26 May 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