0.0.10 • Published 6 months ago

@winglibs/jwt v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

jwt

A Wing library for working with JWT authentication.

Prerequisites

Installation

npm i @winglibs/jwt

Usage

bring util;
bring jwt;

test "will sign and verify" {
  let id = util.nanoid();
  let token = jwt.sign({ foo: id }, "shhhhh");
  let decoded1 = jwt.verify(token, secret: "shhhhh");
}

License

This library is licensed under the MIT License.

0.0.10

6 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago