Skip to content

Commit b456701

Browse files
update README
1 parent a189904 commit b456701

3 files changed

Lines changed: 11 additions & 16 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018-2020 Dezeiraud
3+
Copyright (c) 2018-2020 Gaëtan Dezeiraud
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![NpmLicense](https://img.shields.io/npm/l/express.svg)
22

3-
# bsdiff-nodejs
3+
# bsdiff-node
44
> An binary diff and patch library based on bsdiff algorithm for NodeJS (Windows, Mac, Linux)
55
66
<br>
@@ -13,18 +13,16 @@ If you find this package useful, please don't forget to star ⭐️ the repo, as
1313

1414
## Installation
1515

16-
Install as a dependency for your project (need python 3.x) with Github Packages:
16+
Install as a dependency for your project (need python 3.x):
1717

1818
```bash
19-
npm install @brouilles/bsdiff-nodejs
19+
npm i bsdiff-node
2020
```
2121

22-
See more here https://github.com/Brouilles/bsdiff-nodejs/packages/402771/versions
23-
2422
## Usage
2523

2624
```javascript
27-
const bsdiff = require('@brouilles/bsdiff-nodejs');
25+
const bsdiff = require('bsdiff-node');
2826
bsdiff.diff(oldFile, newFile, patchFile, function(result, err) {}); // Async
2927
bsdiff.patch(oldfile, newfile, patchfile, function(result, err) {}); // Async
3028

package.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
{
2-
"name": "bsdiff-nodejs",
2+
"name": "bsdiff-node",
33
"description": "An binary diff and patch library based on bsdiff algorithm for NodeJS (Windows, Mac, Linux).",
4-
"version": "2.2.3",
5-
"publishConfig": {
6-
"registry": "https://npm.pkg.github.com/@Brouilles"
7-
},
4+
"version": "2.2.4",
85
"repository": {
96
"type": "git",
10-
"url": "git+https://github.com/Brouilles/bsdiff-nodejs.git"
7+
"url": "git+https://github.com/Brouilles/bsdiff-node.git"
118
},
129
"main": "index.js",
1310
"scripts": {
@@ -18,7 +15,7 @@
1815
"binary": {
1916
"module_name": "bsdiff",
2017
"module_path": "./build/Release/",
21-
"host": "https://github.com/Brouilles/bsdiff-nodejs/releases/download/",
18+
"host": "https://github.com/Brouilles/bsdiff-node/releases/download/",
2219
"remote_path": "{version}"
2320
},
2421
"keywords": [
@@ -28,9 +25,9 @@
2825
"binary patch"
2926
],
3027
"bugs": {
31-
"url": "https://github.com/Brouilles/bsdiff-nodejs/issues"
28+
"url": "https://github.com/Brouilles/bsdiff-node/issues"
3229
},
33-
"homepage": "https://github.com/Brouilles/bsdiff-nodejs",
30+
"homepage": "https://github.com/Brouilles/bsdiff-node",
3431
"author": "Brouilles <contact@exoway.net>",
3532
"license": "MIT",
3633
"gypfile": true,

0 commit comments

Comments
 (0)