Under heavy development
StitchAPI

Installation

Install stitchapi and set up the zero-dependency runtime in Node or the browser.

Install the package, import stitch, and make one typed call to confirm the runtime works. stitchapi has zero dependencies and runs anywhere fetch does — Node, the browser, and edge runtimes.

Install

npm install stitchapi

Import it

stitch is a named export. Pick the form that matches your module system — everything after the import is identical.

import {  } from 'stitchapi';

Verify

Declare a stitch from one URL and call it like a function — no config object, no client to construct:

import {  } from 'stitchapi';

const  = ('https://api.example.com/users');

const  = await (); // GET, parsed JSON

If that returns without throwing, the runtime is wired up. Add an output schema next and you get TypeScript types, runtime validation, and drift detection in one move — see Quickstart.

See also

On this page