Presto TS:利用Typescript库轻松操作Presto数据库

Presto TS是一个npm Typescript库,可与PrestoDB进行交互。通过npm install --save presto-ts安装。举例: import { Presto, PrestoQueryParams, PrestoResponse } from 'presto-ts'; const prestoStatusUpdate = (prestoNotification: PrestoResponse): PrestoResponse => { console.log('新的Presto查询状态'); console.log(prestoNotification); return prestoNotification; }; const errorPresto = (error: Er

zip
presto-ts-main.zip 预估大小:22个文件
folder
presto-ts-main 文件夹
file
.DS_Store 6KB
folder
.github 文件夹
folder
workflows 文件夹
file
node.js.yml 762B
file
index.ts 21B
folder
src 文件夹
file
index.ts 240B
folder
Presto 文件夹
file
presto.ts 4KB
file
presto-ts.code-workspace 47B
folder
interfaces 文件夹
file
presto.response.ts 980B
file
presto.query.params.ts 398B
file
presto.headers.ts 490B
file
presto.status.ts 210B
file
presto.contants.ts 122B
folder
.vscode 文件夹
file
launch.json 577B
file
jestconfig.json 295B
file
tsconfig.json 247B
file
LICENSE 1KB
file
.prettierrc 72B
file
tslint.json 68B
file
README.md 2KB
folder
tests 文件夹
file
presto.test.ts 3KB
file
.gitignore 43B
file
package-lock.json 229KB
file
package.json 1KB
zip 文件大小:61.79KB