Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

is-chakra

1.1.0 • Public • Published

is-chakra Build Status

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

install

npm i is-chakra

Downloadsweekly downloads

9

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability