How to use the needle.patch function in needle

To help you get started, we’ve selected a few needle examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github itchio / itch / appsrc / promised / needle.ts View on Github external
export function patch (uri: string, data: any, options: any, callback: INeedleCallback): INeedleRequest {
  if (isOffline()) { return closeConnection(callback); }
  return needle.patch(uri, data, withProxy(options), callback);
}

needle

The leanest and most handsome HTTP client in the Nodelands.

MIT
Latest version published 1 year ago

Package Health Score

70 / 100
Full package analysis