0.0.6 • Published 9 years ago

quaderno-server v0.0.6

Weekly downloads
33
License
-
Repository
github
Last release
9 years ago

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

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago