@unional/macaroon
TypeScript icon, indicating that this package has built-in type declarations

3.2.1 • Public • Published

@unional/macaroon

This is a TypeScript fork of macaroon.

macaroon

A JavaScript implementation of macaroons compatible with the Go, Python, and C implementations. Including functionality to interact with third party caveat dischargers implemented by the Go macaroon bakery. It supports both version 1 and 2 macaroons in JSON and binary formats.

Usage

import { newMacaroon } from '@unional/macaroon'

const macaroon = newMacaroon({ ... })

API

Please check the api documentation.

Package Sidebar

Install

npm i @unional/macaroon

Weekly Downloads

3

Version

3.2.1

License

BSD-3-Clause

Unpacked Size

79.4 kB

Total Files

6

Last publish

Collaborators

  • unional