Nighttime Pachinko Marathon

    where-call
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1-beta • Public • Published

    Where Call

    install

    npm install where-call

    functions

    • whereIsCallFunction(): Info | null
    // source.js
    function foo() {
      return whereIsCallFunction();
    }
    const location = foo();
    //       │       ↑
    //       └───────┘
    //     source.js:4:17
    • whereIsHere(): Info | null
    // source.js
    function foo() {
      const location = whereIsHere();
    //         │       ↑
    //         └───────┘
    //       source.js:2:19
    }
    foo();

    object

    • Info: location detail
      • line: number
      • column: number
      • file: string

    Related

    Install

    npm i where-call

    DownloadsWeekly Downloads

    0

    Version

    1.0.1-beta

    License

    MIT

    Unpacked Size

    5.54 kB

    Total Files

    6

    Last publish

    Collaborators

    • tokisakiyuu