UNPKG

sync-request-curl

Version:

Fast way to send synchronous web requests in NodeJS. API is a subset of sync-request. Leverages node-libcurl for high performance. Cannot be used in a browser.

4 lines (3 loc) 166 B
import { HttpVerb, Options, Response } from './types'; declare const request: (method: HttpVerb, url: string, options?: Options) => Response; export default request;