TypeScript client for the public, read-only dev-null.sh API. No authentication is required.
npm install dev-null-apiimport { DevNull } from "dev-null-api";
const api = new DevNull();
// Get a public user profile.
const user = await api.users.get("nunomaduro");
console.log(user);Retrieve a public user profile.
The username may include a leading @. The returned object uses the same field names as the API response.
See CONTRIBUTING.md.