Skip to content

Commit 093f2f5

Browse files
committed
update package info
1 parent 133c8d4 commit 093f2f5

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ let i4 = buffer.readDoubleBE(7);
3333
**With `Ginkgoch Buffer Reader`**
3434
It automatically manages the read position for you. You don't need to remember the position and the boring type length calculations.
3535
```js
36+
const BufferReader = require('ginkgoch-buffer-reader');
37+
let br = new BufferReader(buffer);
3638
let i1 = br.nextInt8();
3739
let i2 = br.nextInt16LE();
3840
let i3 = br.nextUInt32LE();

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "ginkgoch-buffer-reader",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"main": "index.js",
5+
"homepage": "https://github.com/ginkgoch/node-buffer-reader",
56
"scripts": {
67
"test": "./node_modules/.bin/jest"
78
},
@@ -17,5 +18,9 @@
1718
"description": "This is a library to help to easily read Buffer instance.",
1819
"devDependencies": {
1920
"jest": "^23.4.1"
21+
},
22+
"repository": {
23+
"url": "https://github.com/ginkgoch/node-buffer-reader.git",
24+
"type": "git"
2025
}
2126
}

0 commit comments

Comments
 (0)