detect-ts-node (npm): Detect whether the code is running in TS Node
Keywords: detect|ts-node