diff --git a/LICENSE b/LICENSE index 2e62ec9..386510b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018-2020 Dezeiraud +Copyright (c) 2018-2020 Gaëtan Dezeiraud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 8483721..2fa6859 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![NpmLicense](https://img.shields.io/npm/l/express.svg) -# bsdiff-nodejs +# bsdiff-node > An binary diff and patch library based on bsdiff algorithm for NodeJS (Windows, Mac, Linux)
@@ -13,18 +13,16 @@ If you find this package useful, please don't forget to star ⭐️ the repo, as ## Installation -Install as a dependency for your project (need python 3.x) with Github Packages: +Install as a dependency for your project (need python 3.x): ```bash -npm install @brouilles/bsdiff-nodejs +npm i bsdiff-node ``` -See more here https://github.com/Brouilles/bsdiff-nodejs/packages/402771/versions - ## Usage ```javascript -const bsdiff = require('@brouilles/bsdiff-nodejs'); +const bsdiff = require('bsdiff-node'); bsdiff.diff(oldFile, newFile, patchFile, function(result, err) {}); // Async bsdiff.patch(oldfile, newfile, patchfile, function(result, err) {}); // Async diff --git a/package.json b/package.json index a31a424..460acf0 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,10 @@ { - "name": "bsdiff-nodejs", + "name": "bsdiff-node", "description": "An binary diff and patch library based on bsdiff algorithm for NodeJS (Windows, Mac, Linux).", - "version": "2.2.3", - "publishConfig": { - "registry": "https://npm.pkg.github.com/@Brouilles" - }, + "version": "2.2.4", "repository": { "type": "git", - "url": "git+https://github.com/Brouilles/bsdiff-nodejs.git" + "url": "git+https://github.com/Brouilles/bsdiff-node.git" }, "main": "index.js", "scripts": { @@ -18,7 +15,7 @@ "binary": { "module_name": "bsdiff", "module_path": "./build/Release/", - "host": "https://github.com/Brouilles/bsdiff-nodejs/releases/download/", + "host": "https://github.com/Brouilles/bsdiff-node/releases/download/", "remote_path": "{version}" }, "keywords": [ @@ -28,9 +25,9 @@ "binary patch" ], "bugs": { - "url": "https://github.com/Brouilles/bsdiff-nodejs/issues" + "url": "https://github.com/Brouilles/bsdiff-node/issues" }, - "homepage": "https://github.com/Brouilles/bsdiff-nodejs", + "homepage": "https://github.com/Brouilles/bsdiff-node", "author": "Brouilles ", "license": "MIT", "gypfile": true,