OptionalapiAPI root, e.g. for pointing at a mock server in tests. Default 'https://api.pexels.com'.
OptionalcacheHow long GET responses are cached in-memory, in ms. 0 disables caching (de-dupe of concurrent identical requests still applies). Default 60_000.
OptionallogLog every emitted event to the console. Default true — set false to opt out and rely solely on your own listeners.
Optionalclient
Pexels API key. Never logged, never re-exported — only used to build the Authorization header.