@authless/server
TypeScript icon, indicating that this package has built-in type declarations

3.11.5 • Public • Published

Authless Client • Maintainability Test Coverage

Node.js client for authless-server written in TypeScript.

Install

yarn add @authless/client
# - or -
npm install @authless/client

Usage

import { Client } from '@authless/client'

// setup a client
const authlessClient = new Client({
  serverUri: 'http://example.com:4000',
  retries: 2,
});

// use it
authlessClient.url('https://example.com', { referer: 'optional', responseFormat: 'json' })
authlessClient.url('https://example.com', { responseFormat: 'png' })

Readme

Keywords

none

Package Sidebar

Install

npm i @authless/server

Weekly Downloads

21

Version

3.11.5

License

ISC

Unpacked Size

80.8 kB

Total Files

37

Last publish

Collaborators

  • michaelhirn