Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 670 Bytes

File metadata and controls

42 lines (25 loc) · 670 Bytes

is-react-instance

Check if module is loaded in a reactjs instance.

Install

Install with npm

$ npm i is-react-instance --save-dev

Usage

var isReact = require('is-react-instance');
isReact() // true or false

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Neon

License

Copyright © 2024 Neon Licensed under the MIT license.