0.0.6 • Published 10 years ago

quaderno-server v0.0.6

Weekly downloads
33
License
-
Repository
github
Last release
10 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

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago