【文件属性】:
文件名称:node-last-line:节点模块,使用slice-file获取文件的最后一行
文件大小:2KB
文件格式:ZIP
更新时间:2021-05-15 04:36:52
JavaScript
概要
节点模块,使用slice-file获取文件的最后一行
安装
npm install last-line
例子
var lastLine = require ( 'last-line' ) ;
lastLine ( './path/to/file' , function ( err , res ) {
// handle err (empty file?)
process . stdout . write ( res ) ;
} ) ;
执照
麻省理工学院
【文件预览】:
node-last-line-master
----index.js(455B)
----package.json(616B)
----LICENSE(1KB)
----README.md(289B)