没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Prray-“承诺”数组,它与原始数组兼容,但带有本地Array方法的异步版本,例如mapAsync,filterAsync,everyAsync ... 带有本机Array方法的异步版本 支持使用普通方法和异步方法进行方法链接 支持并发限制 它的工作原理没有任何原型污染 ,它可以在浏览器和Node.js上运行 ,有据可查的 import Prray from 'prray' // 1) create const urls = Prray . from ( [ 'www.google.com' , 'npmjs.org' ] ) // 2) async method let responses = await urls . mapAsync ( fetch ) // 3) method chaining with both normal and async methods await ur
资源推荐
资源详情
资源评论
收起资源包目录
prray-master.zip (65个子文件)
prray-master
.gitignore 40B
package.json 1KB
package-lock.json 134KB
src
prray.ts 16KB
index.ts 165B
methods.ts 10KB
prraypromise.ts 9KB
LICENSE.md 1KB
.travis.yml 162B
TODO 2KB
tsconfig.json 5KB
.prettierignore 9B
README.md 25KB
test
keys.test.ts 653B
delay.test.ts 3KB
indexOf.test.ts 370B
mapAsync.test.ts 1005B
forEach.test.ts 1KB
reduceAsync.test.ts 2KB
sort.test.ts 914B
compatibility.test.ts 2KB
concat.test.ts 1KB
pop.test.ts 630B
forEachAsync.test.ts 2KB
filterAsync.test.ts 1KB
map.test.ts 2KB
loop.test.ts 3KB
loop.benchmark.ts 2KB
test-utils.ts 2KB
lastIndexOf.test.ts 693B
from.test.ts 807B
toLocaleString.test.ts 419B
toString.test.ts 383B
copyWithin.test.ts 1KB
sortAsync.test.ts 2KB
every.test.ts 2KB
values.test.ts 677B
toArray.test.ts 533B
test-utils.test.ts 531B
reduceRight.test.ts 2KB
join.test.ts 466B
some.test.ts 2KB
_ensurePrray.test.ts 319B
unshift.test.ts 554B
reverse.test.ts 633B
of.test.ts 427B
shift.test.ts 679B
includes.test.ts 357B
fill.test.ts 2KB
findAsync.test.ts 926B
everyAsync.test.ts 1KB
real-word.test.ts 736B
slice.test.ts 3KB
isPrray.test.ts 664B
entries.test.ts 777B
someAsync.test.ts 1KB
filter.test.ts 1KB
find.test.ts 808B
splice.test.ts 4KB
reduce.test.ts 2KB
reduceRightAsync.test.ts 3KB
push.test.ts 536B
findIndex.test.ts 826B
findIndexAsync.test.ts 968B
.prettierrc 90B
共 65 条
- 1
资源评论
WebWitch
- 粉丝: 21
- 资源: 4586
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功