lwtauth

0.1.6 • Public • Published

Litterbox Web Token

A simple token handling library for the Litterbox web system, it's inspired heavily by JWT, but with a few small specific differences.

Installation

npm install lwtauth --save

Usage

  var lwt = require('lwtauth)
  var data = lwt.decode(token)

Tests

npm test

Release history

0.1.0 Initial release 0.1.2 Fixed the token decoding 0.1.3 The decode should return false when token is undefined 0.1.4 Added encode function, and improved testcases

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i lwtauth

    Weekly Downloads

    1

    Version

    0.1.6

    License

    Apache-2.0

    Last publish

    Collaborators

    • agoransson