Skip to content

Commit

Permalink
Require Node.js 18
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 28, 2024
1 parent eab5664 commit 23b4f67
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
4 changes: 0 additions & 4 deletions .github/funding.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
node-version:
- 20
- 18
- 16
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": "./index.js",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
},
"sideEffects": false,
"engines": {
"node": ">=16.0.0"
"node": ">=18"
},
"scripts": {
"test": "xo && ava && tsd"
Expand All @@ -37,10 +41,9 @@
"open"
],
"devDependencies": {
"@types/node": "^16.4.13",
"ava": "^6.1.3",
"sinon": "^11.1.2",
"tsd": "^0.17.0",
"sinon": "^18.0.0",
"tsd": "^0.31.1",
"uint8array-extras": "^1.1.0",
"xo": "^0.58.0"
}
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Because the built-in way requires way too much boilerplate.

## Install

```
$ npm install read-chunk
```sh
npm install read-chunk
```

## Usage
Expand Down Expand Up @@ -45,4 +45,4 @@ The number of bytes to read.

Type: `number`

The poosition to start reading from.
The position to start reading from.

0 comments on commit 23b4f67

Please sign in to comment.