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

0.3.0 • Public • Published

is-sandpack

Check if the process is running inside Sandpack

Installation

npm install is-sandpack
#pnpm
pnpm add is-sandpack

Usage

import { isSandPack } from 'is-sandpack'

if (isSandPack()) {
	console.log('Running inside Sandpack')
}

/is-sandpack/

    Package Sidebar

    Install

    npm i is-sandpack

    Weekly Downloads

    0

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    2.89 kB

    Total Files

    5

    Last publish

    Collaborators

    • nemurubaka