0.2.4 • Published 7 years ago

nexus-announce v0.2.4

Weekly downloads
33
License
-
Repository
github
Last release
7 years ago

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
0.2.4

7 years ago

0.2.3

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.1

8 years ago

0.1.0

8 years ago