Oslo

Simple auth packages for the entire JS ecosystem.

Oslo is an open-source project that aims to provide high-quality auth packages for server-side JS. Runtime agnostic. Zero third-party dependencies. Fully typed. Ready to go.

GitHub repositories→

All packages

@oslojs/binary

Primitives for working with binary data.

@oslojs/crypto

SHA-1, SHA-2, SHA-3, HMAC, ECDSA, RSA, and secure RNGs.

@oslojs/encoding

Hex, base32, base64, and base64url encoding.

@oslojs/oauth2

A small library for parsing OAuth responses.

@oslojs/otp

One-time passwords with HOTP and TOTP.

@oslojs/cbor

CBOR decoding.

@oslojs/asn1

ASN.1 DER encoding and decoding.

@oslojs/webauthn

Parse and verify Web Authentication data.

@oslojs/jwt

Parse and encode JSON web tokens.