Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

discord-typings

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-typings

Typings for data returned by Discord (unofficial)

  • 9.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-87.93%
Maintainers
1
Weekly downloads
 
Created
Source

Unofficial Discord type declarations

Installation & Usage

npm install discord-typings

This module only exports type definitions and interfaces which can be used as type references. The index only exports an empty Object. Trying to access members in code may return undefined or throw an Error. So... Don't do that.

The latest version of this module will only export the latest-as-of-publish typings from Discord's API docs. The earliest version is API/Gateway V9. If you wish to install an earlier typed API/Gateway version, refer to the latest major release of the desired version.

Anywhere you can reference types such as in JSDoc annotations, you can use this module.

Disclaimer

This module makes a best effort at following Discord's API docs, staying up to date, and providing as much as possible while staying consistent to their naming scheme. This module does not export properties not outlined in Discord's API docs.

FAQs

Package last updated on 15 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc