A pure JavaScript implementation of git for node and browsers!
Opening the entry
Opening the entry
Tiny & elegant JavaScript HTTP client based on the Fetch API
Ky is a small, dependency-free JavaScript HTTP client built on the Fetch API. It targets modern browsers, Node.js, Bun, and Deno, and is meant for developers who want a simpler API than plain fetch. It adds method shortcuts, treats non-2xx statuses as errors after redirects, and supports retries, timeouts, JSON handling, and hooks.
npm install ky
const json = await ky.post('https://example.com', {json: {foo: true}}).json();sindresorhus/ky is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.