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
- Host: GitHub
- URL: https://github.com/dweinstein/node-last-line
- Owner: dweinstein
- License: mit
- Created: 2015-03-21T16:06:35.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-20T14:37:03.000Z (almost 11 years ago)
- Last Synced: 2025-08-09T09:43:43.856Z (11 months ago)
- Language: JavaScript
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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