没有合适的资源?快使用搜索试试~ 我知道了~
file-line-reader
共6个文件
js:2个
md:1个
gitignore:1个
需积分: 8 0 下载量 91 浏览量
2021-05-16
02:39:28
上传
评论
收藏 3KB ZIP 举报
温馨提示
文件行读取器 异步逐行文件读取器。 安装 npm install file-line-reader 用法 使用构造函数创建LineReader对象。 然后使用功能nextLine接收下一行。 该库将仅加载所需数量的文件内容,从而允许读取非常大的文件。 var LineReader = require('file-line-reader'); var reader = new LineReader('longfile.txt'); // Reads the file line of the longfile.txt file reader.nextLine(function (err, line) { if (err) { // file not found, no read rights, .. } console.log(line)
资源推荐
资源详情
资源评论
收起资源包目录
file-line-reader-master.zip (6个子文件)
file-line-reader-master
.gitignore 18B
README.md 1KB
example.js 336B
package.json 588B
index.js 2KB
LICENSE.txt 1KB
共 6 条
- 1
资源评论
葵烟
- 粉丝: 18
- 资源: 4600
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功