1.0.0 • Published 7 months ago

function-location v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

Description

You can retrieve the path of a class or function using this library, and it supports not only node command but also ts-node.

Installation

npm install function-location

Usage

import { locateV8 } from 'function-location';

class TestClass {
}

function TestFunction() {
}

locateV8(TestClass);
locateV8(TestFunction);

Return Value

The locateV8() function returns the source file path of the currently executing function as a string.

License

This library is licensed under the MIT license.

0.0.1

7 months ago

1.0.0

7 months ago

1.0.0-beta.2

7 months ago

1.0.0-beta.3

7 months ago

1.0.0-beta.4

7 months ago

1.0.0-beta.0

7 months ago

1.0.0-beta.1

7 months ago

0.0.1-beta.0

9 months ago