Linux Mint
My Places
Sign in
Community
Software
Users
Moderation
Beta Testing
ISO Images
Teams
node-get-caller-file
inspects the v8 stack trace
https://github.com/stefanpenner/get-caller-file
0
no reviews
Install
Call this function in a another function to find out the file from which that function was called from.
Inspired by http://stackoverflow.com/questions/13227489
Node.js is an event-based server-side JavaScript engine.