Skip to content

yorickdevries/detect-ts-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Install

npm install --save detect-ts-node

Usage:

import detectTSNode from "detect-ts-node";

if (detectTSNode) {
  console.log("Code is running in TS Node");
} else {
  console.log("Code is not running in TS Node");
}

The detection is based on the discussion in this issue on the TS Node Github

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors