Skip to content

prontotype-us/nexus-announce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nexus-announce

Node.js library for sending events to the Nexus API

npm install nexus-announce

Usage

Require nexus-announce and create an announce function with your API key:

nexus_config = {api_key: "xyz..."}
announce = require('nexus-announce')(nexus_config)

Then use announce to send any valid JSON event to Nexus:

# a wild user appears...
announce({type: 'login', username: 'joe', app: 'tryna', version: '0.0.1'})

Config

  • api_key: String Required
    • API Key for the Nexus account you are posting into
  • disabled: Bool
    • Set to temporarily disable without removing calls to announce

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published