An open API service indexing awesome lists of open source software.

https://github.com/dweinstein/node-last-line

node module using slice-file to get last line of a file
https://github.com/dweinstein/node-last-line

Last synced: 29 days ago
JSON representation

node module using slice-file to get last line of a file

Awesome Lists containing this project

README

          

# SYNOPSIS
node module using slice-file to get last line of a file

# INSTALL

`npm install last-line`

# EXAMPLE

```js
var lastLine = require('last-line');
lastLine('./path/to/file', function (err, res) {
// handle err (empty file?)
process.stdout.write(res);
});
```

# LICENSE
MIT