4.0.1 • Published 9 months ago
patchfile v4.0.1
Patchfile
Patch file with given diff.
Install
npm i patchfile
How to use?
const daffy = require('daffy');
const patchfile = require('patchfile');
const patch = daffy.createPatch('hello', 'hello world');
const tryToCatch = require('try-to-catch');
/* patch file thet not bigger then 2kb */
const [e] = await tryToCatch(patchfile, 'hello.txt', patch, {
size: 2048,
});
if (e)
console.error(e.message);
License
MIT
4.0.1
9 months ago
4.0.0
9 months ago
3.1.0
2 years ago
3.0.0
4 years ago
2.0.4
6 years ago
2.0.3
6 years ago
2.0.2
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.0.10
6 years ago
1.0.9
7 years ago
1.0.8
7 years ago
1.0.7
9 years ago
1.0.6
9 years ago
1.0.5
9 years ago
1.0.4
9 years ago
1.0.3
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago