Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.45 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.45 KB

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.