Interface: NodeRemoteOptions
Extends
Section titled “Extends”Properties
Section titled “Properties”cacheDir?
Section titled “cacheDir?”
optionalcacheDir?:string
On-disk cache directory. Files are stored under
fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defaults to the global fetch.
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
Inherited from
Section titled “Inherited from”metaMaxAgeMs?
Section titled “metaMaxAgeMs?”
optionalmetaMaxAgeMs?:number
How long meta.json is trusted before it is fetched again. Default: one hour (the caching contract).
Inherited from
Section titled “Inherited from”
optionalnow?: () =>number
Clock, for tests.
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”store?
Section titled “store?”
optionalstore?:ShardStore
Persistent cache beyond memory.
Inherited from
Section titled “Inherited from”This product uses the TMDB API but is not endorsed or certified by TMDB.