is-stackblitz
v1.0.0
Published
Detect if your code is currently running on Stackblitz
Downloads
2
Maintainers
Readme
is-stackblitz
Detect if your code is currently running on Stackblitz
import isStackblitz from "is-stackblitz";
// true if ran in Stackblitz, false otherwise
console.log(isStackblitz());
process.env.STACKBLITZ = "1"; // Manually set STACKBLITZ
// true
console.log(isStackblitz());