is-stackblitz
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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());

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i is-stackblitz

      Weekly Downloads

      1

      Version

      1.0.0

      License

      MIT

      Unpacked Size

      954 B

      Total Files

      4

      Last publish

      Collaborators

      • flzyy