Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
leankit-client
Advanced tools
Readme
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.
npm install leankit-client
var LeanKitClient = require('leankit-client');
var client = LeanKitClient.createClient('account-name', 'your@email.com', 'your-p@ssw0rd');
client.getBoards(function(err, res){
console.log(res);
});
Review the tests for a full list of client functions and how to use them.
To use the LeanKit client behind a proxy server, pass an options object to the module constructor that includes the proxy server. For example:
var LeanKitClient = require('leankit-client');
var client = LeanKitClient.createClient('account-name', 'your@email.com', 'your-p@ssw0rd', { 'proxy': 'http://localproxy.com' } );
This options object is the same object used by the request module.
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.
Set environment variables for the LeanKit account you wish to test with.
OSX/Linux
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
Windows
setx LEANKIT_ACCOUNT "your-account-name"
setx LEANKIT_EMAIL "your@email.com"
setx LEANKIT_PASSWORD "your-p@ssw0rd"
setx LEANKIT_TEST_BOARD "name-of-your-test-board"
Note: On Windows, you will need to reopen your command prompt after setting environment variables.
Install Mocha
npm install -g mocha
Open Terminal and change to the LeanKit Node Client directory
Run tests
npm test
Visit support.leankit.com.
The LeanKit Node Client is licensed under MIT. Refer to license.txt for more information.
FAQs
Node.js API client for use with LeanKit
We found that leankit-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).