quaderno-server

0.0.6 • Public • Published

Quaderno Server

Build Status

Installation

This is a small module designed for node.js servers to help calculate JSON web tokens (JWTs) for one-off charges in Quaderno JS.

Usage

var quadernoServer = require('quaderno-server')(quadernoSecretKey);

Getting a web token

There are two options:

Run it with:

var jsonWebToken = quadernoServer.getJSONWebToken(amount, currency)

This will return JSONWebToken:String, which you can use in createCharge() in

Tests

Run mocha

Readme

Keywords

Package Sidebar

Install

npm i quaderno-server

Weekly Downloads

1

Version

0.0.6

License

none

Last publish

Collaborators

  • mikemaccana