Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidparsson/apply-patch
An npm package for applying patch files
https://github.com/davidparsson/apply-patch
Last synced: 24 days ago
JSON representation
An npm package for applying patch files
- Host: GitHub
- URL: https://github.com/davidparsson/apply-patch
- Owner: davidparsson
- License: mit
- Created: 2015-11-18T15:55:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-26T23:53:47.000Z (almost 2 years ago)
- Last Synced: 2024-04-26T01:03:41.294Z (7 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
apply-patch
===========A npm package for applying patches to files, based on [diff](https://www.npmjs.com/package/diff).
Usage
-----`apply-patch` can be used from node.js as a regular package:
```JavaScript
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](LICENSE)