Narnia's Psychedelic Mushrooms
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

brik.ipa.client

0.1.2 • Public • Published

ipa.client is a intermediate library for IPA. It provides an idiomatic node API for calling the functions exposed by IPA's REST API, along with some convenient shortcuts.

Usage

// Create an client for an ipa server running on localhost:4567
var ipa = require('ipa.client')('http://localhost:4567');
 
// Send a log message to ipa
ipa.log('Hello!');

Function Overview

Function Documentation

### ipa.log(message, [callback]);

Send a string to IPA's log function. This is not escaped, you can send HTML if you wish.

ipa.logImage(imageUrl, [callback]);

Send an image to IPA's log function. This just sends an image HTML element. Not the image data.

Keywords

none

install

npm i brik.ipa.client

Downloadsweekly downloads

3

version

0.1.2

license

none

last publish

collaborators

  • avatar
Report a vulnerability