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);


The leanest and most handsome HTTP client in the Nodelands.

Latest version published 2 months ago

Package Health Score

85 / 100
Full package analysis