GitHunt
SA

saste/apply-patch

An npm package for applying patch files

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

Languages

JavaScript100.0%

Contributors

MIT License
Created January 23, 2023
Updated May 29, 2020
saste/apply-patch | GitHunt