1.0.4 • Published 2 years ago

code-line-number v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

code-line-number

Determines the current line number in JavaScript

Installing

Using npm:

$ npm install code-line-number

Example

const ln = require('code-line-number');
// or
import ln from 'code-line-number';

ln(2); // => 20
// ln(2: Is a depth level, can be 3 or other );
ln(2, 'report'); // => 20, more data in console/terminal
// You can use 'report' for watching call stack and choose depth level you need
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago