New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

tousen

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tousen

Sensu API client wrapper

latest
Source
npmnpm
Version
0.0.8
Version published
Weekly downloads
12
1100%
Maintainers
1
Weekly downloads
 
Created
Source

tousen

tousen (豆扇) is an async Sensu API client written in CoffeeScript, originally developed for use with Hubot

Full documentation of all API wrapper methods can be found on the appropriate classes here.

Presently, it is in the very early stages of development.

Installation

npm install tousen

Dependencies

  • scoped-http-client
  • async

Usage

Require the package and instantiate a client.

Tousen = require 'tousen'
sensu_api = new Tousen url: 'http://sensu.example.com:4567'

Then, make some API calls!

sensu_api.events.get_events callback: (err, res) ->
  if err
    console.log 'It looks like the Sensu API may not be working :('
  else
    console.log 'res is now an object containing all events!'

Full documentation may be found here.

Generating Documentation

Documentation may be generated using codo. To do so:

npm install
codo

Then, open doc/index.html in a browser to view it.

Acknowledgements

Credit goes to @foonix for the name of this project.

Keywords

sensu

FAQs

Package last updated on 17 Jun 2015

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