schema-lanyard-discord-presence
TypeScript icon, indicating that this package has built-in type declarations

0.8.0 • Public • Published

schema-lanyard-discord-presence

Version Build Open Issues License

Schema to type and validate Lanyard discord presence data.

yarn add schema-lanyard-discord-presence

Usage

import { SchemaDiscordPresence, DiscordPresence } from 'schema-lanyard-discord-presence';

const discordPresence: DiscordPresence = await SchemaDiscordPresence.validate(data);

External Resources

Roadmap

  • Add more data properties from the Lanyard API.
  • Update yup to support nullable and default behaviors.

Readme

Keywords

none

Package Sidebar

Install

npm i schema-lanyard-discord-presence

Weekly Downloads

7

Version

0.8.0

License

Apache-2.0

Unpacked Size

498 kB

Total Files

26

Last publish

Collaborators

  • nate-wilkins