Skip to content

About

TypeScript client for the public, read-only dev-null.sh API

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

dev-null-api

CI

TypeScript client for the public, read-only dev-null.sh API. No authentication is required.

Installation

npm install dev-null-api

Usage

import { DevNull } from "dev-null-api";

const api = new DevNull();

// Get a public user profile.
const user = await api.users.get("nunomaduro");
console.log(user);

API

Users

api.users.get(username)

Retrieve a public user profile.

The username may include a leading @. The returned object uses the same field names as the API response.

Contributing

See CONTRIBUTING.md.

License

MIT

About

TypeScript client for the public, read-only dev-null.sh API

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages