mirror of
https://github.com/asadbek064/hyparquet.git
synced 2025-12-05 22:41:55 +00:00
Side-effect-free hint in package.json
This commit is contained in:
parent
0553feb98f
commit
b635904239
@ -142,8 +142,8 @@ If you want to read a parquet file remotely over http, use `asyncBufferFromUrl`
|
||||
|
||||
```typescript
|
||||
const url = 'https://s3.hyperparam.app/wiki_en.parquet'
|
||||
const requestInit = { headers: { Authorization: 'Bearer my_token' } }
|
||||
const byteLength = 415958713
|
||||
const requestInit = { headers: { Authorization: 'Bearer my_token' } } // auth header
|
||||
const byteLength = 415958713 // optional
|
||||
const file: AsyncBuffer = await asyncBufferFromUrl({ url, requestInit, byteLength })
|
||||
const data = await parquetReadObjects({ file })
|
||||
```
|
||||
|
||||
@ -38,6 +38,7 @@
|
||||
"import": "./src/*.js"
|
||||
}
|
||||
},
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"build:types": "tsc -p ./tsconfig.build.json",
|
||||
"coverage": "vitest run --coverage --coverage.include=src",
|
||||
@ -50,7 +51,7 @@
|
||||
"@types/node": "22.15.18",
|
||||
"@vitest/coverage-v8": "3.1.3",
|
||||
"eslint": "9.26.0",
|
||||
"eslint-plugin-jsdoc": "50.6.11",
|
||||
"eslint-plugin-jsdoc": "50.6.17",
|
||||
"hyparquet-compressors": "1.1.1",
|
||||
"typescript": "5.8.3",
|
||||
"typescript-eslint": "8.32.1",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user