npm install linenoGet the current line number.
Install with npm
```
npm install lineno
`js
const Lineno = require('lineno');
const lineno = new Lineno(__filename);
console.log(lineno.get()); // print the current line number
console.log(lineno.filename); // print the file path
``
returns the current line number.
is the file path specified as a constructor argument.
Copyright (C) 2016 Takayuki Sato
This program is free software under MIT License.
See the file LICENSE in this distribution for more details.
[npm-image]: http://img.shields.io/badge/npm-v0.1.0-blue.svg
[npm-url]: https://www.npmjs.org/package/lineno
[travis-image]: https://travis-ci.org/sttk/lineno.svg?branch=master
[travis-url]: https://travis-ci.org/sttk/lineno
[appveyor-image]: https://ci.appveyor.com/api/projects/status/github/sttk/lineno?branch=master&svg=true
[appveyor-url]: https://ci.appveyor.com/project/sttk/lineno