没有合适的资源?快使用搜索试试~ 我知道了~
slurp-some:将nodejs流化为一个预定义量的字符串
共3个文件
js:1个
md:1个
json:1个
需积分: 5 0 下载量 9 浏览量
2021-05-10
04:35:02
上传
评论
收藏 1KB ZIP 举报
温馨提示
饮 将某些流插入字符串。 灵感来自clojure的饮。 例子 var slurp = require ( 'slurp-some' ) . slurp ; //Stops reading after 2048 bytes and passes the resulting string as content. //err is null if the stream contained less than 2048 bytes, otherwise err is //a string specifying the error along with the content read up to the point of //error. slurp ( input , 2048 , function ( err , content ) { console . log ( content )
资源推荐
资源详情
资源评论
收起资源包目录
slurp-some-master.zip (3个子文件)
slurp-some-master
README.md 591B
index.js 425B
package.json 591B
共 3 条
- 1
资源评论
格秒索杉
- 粉丝: 27
- 资源: 4563
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功