Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public async put(url: string, data?: any): Promise { return ky.put(url, { prefixUrl, json: data }).json(); }
Use Ky in both Node.js and browsers