Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

leankit-client

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leankit-client

API client for use with LeanKit Kanban.

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

LeanKit Node Client

The LeanKit client module for Node.js provides an easy-to-use set of functions designed to simplify the integration of external systems and utilities with your LeanKit account.

Requirements

  • Node.js
  • A LeanKit account

Client Usage

var LeanKitClient = require('leankit-client');
var client = LeanKitClient.newClient('account-name', 'your@email.com', 'your-p@ssw0rd');

client.getBoards(function(err, res){
	console.log(res);
});

Installing Manually

  • Clone or download the leankit-node-client Github repository.

  • Open a Terminal window, change to the repository folder, and install dependent packages.

      npm install
    
  • Create a folder in your node application's node_modules folder named leankit-client (e.g. `[project-name]/node_modules/leankit-client).

  • Copy all the files and folders in the leankit-node-client folder to the leankit-client folder created in the previous step.

Compiling leankit-client.js

The LeanKit client for Node.js is written in CoffeeScript. To make changes, you'll need the CoffeeScript compiler.

npm install -g coffee-script

Next, compile the LeanKit client module using:

coffee --compile leankit-client.coffee

Running Tests

  • Set environment variables for the LeanKit account you wish to test with

      export LEANKIT_ACCOUNT=[your-account-name]
      export LEANKIT_EMAIL=[your@email.com]
      export LEANKIT_PASSWORD=[your-p@ssw0rd]
      export LEANKIT_TEST_BOARD=[name-of-your-test-board]
    
  • Install Mocha

      npm install -g mocha
    
  • Open Terminal and change to the LeanKit Node Client directory

  • Run Mocha, specifying a reporter

      mocha --reporter spec
    

Questions?

Visit support.leankit.com.

License

The LeanKit Node Client is licensed under MIT. Refer to license.txt for more information.

Keywords

FAQs

Package last updated on 17 Feb 2014

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc