Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

is-chakra

sindresorhus26MITdeprecated2.0.0

Deprecated

Detect if your code is running in the Chakra JavaScript engine

chakra, chakracore, core, engine, edge, microsoft, detect, check, is

readme

is-chakra

Detect if your code is running in the Chakra JavaScript engine

Since Microsoft is prototyping adding Chakra to Node.js.

Install

$ npm install --save is-chakra

Usage

const isChakra = require('is-chakra');

if (isChakra) {
    console.log('Running in Chakra');
}

License

MIT © Sindre Sorhus