Socket
Socket
Sign inDemoInstall

apply-patch

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    apply-patch

Applies patch files


Version published
Weekly downloads
13
decreased by-63.89%
Maintainers
1
Install size
289 kB
Created
Weekly downloads
 

Readme

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

Last updated on 12 Jan 2016

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc