dagpijs:快速和强类型的基于https的Promise包装器

时间:2021-03-20 10:39:48
【文件属性】:
文件名称:dagpijs:快速和强类型的基于https的Promise包装器
文件大小:44KB
文件格式:ZIP
更新时间:2021-03-20 10:39:48
TypeScript 达皮斯 基于快速且类型明确的promise的包装器 阅读文档: : 安装 # npm npm i dagpijs # yarn yarn add dagpijs 例子 下面的示例解释了一些常见的用例 基本数据 const { Client } = require ( "dagpijs" ) ; const cl = new Client ( "dagpi token" ) ; cl . roast ( ) . then ( ( res ) => console . log ( res . roast ) ) ; 要归档的基本映像 import { Client } from "dagpijs" ; import { writeFile } from "fs" ; const cl = new CLient ( "dagpi token" ) ; cl . image_process
【文件预览】:
dagpijs-main
----.eslintrc.json(2KB)
----.gitignore(41B)
----package.json(1KB)
----src()
--------errors.ts(2KB)
--------index.ts(192B)
--------image.ts(809B)
--------handlers.ts(1KB)
--------models.ts(3KB)
--------client.ts(4KB)
----LICENSE(1KB)
----CHANGELOG.md(1KB)
----tsconfig.json(525B)
----.github()
--------workflows()
----README.md(2KB)
----_config.yaml(40B)
----yarn.lock(93KB)

网友评论