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

hollrit

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hollrit

SDK for HollrIt

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

HollrIt.js

Build Status Coverage Status

JS client for HollrIt.

Install

npm install hollrit

Example

import hollrit from 'hollrit';

export default async function () {
  let client = hollrit('username', 'password');
  let response = await client.send('tag', 'message');
}

API

hollrit(username, password)

Create a new HollrIt client.

const client = hollrit('username', 'password');

login()

Manually logs a client in, fetching a new user token.

client.login()

send(tag, message, webook)

Sends a message. Optionally, registers webhooks for success send.

const response = await client.send('tag', 'message', {
  webhookUrl: 'http://example.com',
  webhookPayload: { foo: 'bar' }
});

License

MIT

Keywords

FAQs

Package last updated on 06 Sep 2016

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