Type Definitions
NCMGET exports the following TypeScript types for use in your projects.
SongData
Represents a song's metadata.
Usage:
UrlData
Represents an audio URL with metadata.
Usage:
LrcData
Represents lyrics with optional translation.
Usage:
SearchOption
Options for the search method.
Usage:
ApiConfig
Internal API request configuration. Used to define how an API call should be made.
Usage:
This type is primarily used internally by the NCMGET class. You typically don't need to construct ApiConfig objects directly unless you are extending the library.
Headers
HTTP request headers type.
A simple key-value map of HTTP headers. Used as the type for the header instance property.
Usage:
