# is-stackblitz

> Detect if your code is currently running on Stackblitz

Latest version **1.0.0** (published 2023-02-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-stackblitz
pnpm add is-stackblitz
yarn add is-stackblitz
bun add is-stackblitz
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-02-21 |
| First published | 2023-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 954 B |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | FLzyy |
| Maintainers | flzyy |
| Keywords | stackblitz, webcontainer, env, is, detect |

## Links

- npm: https://www.npmjs.com/package/is-stackblitz
- Repository: https://github.com/FLzyy/is-stackblitz
- Homepage: https://github.com/FLzyy/is-stackblitz#readme
- Issues: https://github.com/FLzyy/is-stackblitz/issues
- npm.io page: https://npm.io/package/is-stackblitz

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2023-02-21

## README

# is-stackblitz

> Detect if your code is currently running on Stackblitz

```js
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());
```

---
_Source: https://npm.io/package/is-stackblitz · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
