🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

apply-patch

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apply-patch

Applies patch files

0.1.2
latest
Source
npm
Version published
Weekly downloads
189
53.66%
Maintainers
1
Weekly downloads
 
Created
Source

apply-patch

A npm package for applying patches to files, based on diff.

Usage

apply-patch can be used from node.js as a regular package:

var applyPatch = require("apply-patch").applyPatch;
applyPatch("path/to/file.patch");

apply-patch can also be used as a comand line tool:

npm install -g apply-patch
apply-patch path/to/file.patch

License

MIT

FAQs

Package last updated on 12 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts