An open API service indexing awesome lists of open source software.

https://github.com/molnarmark/jsonjwt

Effortlessly serve JSON files protected by JWT.
https://github.com/molnarmark/jsonjwt

Last synced: 3 months ago
JSON representation

Effortlessly serve JSON files protected by JWT.

Awesome Lists containing this project

README

          

# jsonjwt

Effortlessly serve JSON files protected by JWT.

## Installation

```bash
npm install --save jsonjwt
```

## API

### `jsonjwt.stringify(object, secret)`

### `jsonjwt.parse(token, [secret])`

- If no secret is provided, it will try and fetch `token-secret` from LocalStorage.