open-index/open-npm huggingface dataset:
npm package: @sitapati/function-origin
Description: Get origin of a function
Author: Vladimir Kurchatkin
Latest version: 1.1.2

# function-origin

Get origin of a function in io.js and node.js

# Usage

```
npm install function-origin
```

and then:

```javascript
var FunctionOrigin = require('function-origin');
var origin = FunctionOrigin(someFn);
```
`origin` has the following properties:

 - `file` — source file name;
 - `line` — line number (0-based);
 - `column` — column number (0-based);
 - `inferredName`.

# License

MIT