You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

changetip

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

changetip

ChangeTip API for NodeJS

0.1.2
latest
Source
npm
Version published
Maintainers
2
Created
Source

ChangeTip API for NodeJS CircleCI Build Status

Enables easy communication with the ChangeTip API via NodeJS. Allows for sending and retrieving tip information

Installation

npm install changetip

Instance Usage

	var ChangeTip = require('changetip'),
    	change_tip = new ChangeTip({api_key:{YOUR_KEY_HERE});
    	
    change_tip.send_tip(uniqueId, sender, receiver, channel, meta).then(function(result) {
    	//Results here from transaction
    });

Singleton Usage

    var change_tip = require('changetip').getInstance();

    //Only needed once
    change_tip.init({api_key:{YOUR_KEY_HERE});
    
    change_tip.send_tip(uniqueId, sender, receiver, channel, meta).then(function(result) {
    	//Results here from transaction
    });

API Development

  • Clone repo locally

     git clone https://github.com/changecoin/changetip-javascript.git
    
  • Install Node Modules

     npm install
    

Generating Docs

npm run docs

Running Unit Tests

To run Unit Tests:

npm run test

Keywords

changetip

FAQs

Package last updated on 26 Feb 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