An open API service indexing awesome lists of open source software.

https://github.com/neongamerbot-qk/is-react-instance

Check if it is a react instance
https://github.com/neongamerbot-qk/is-react-instance

github-include-on-site npmjs react

Last synced: about 1 month ago
JSON representation

Check if it is a react instance

Awesome Lists containing this project

README

          

# is-react-instance

> Check if module is loaded in a reactjs instance.

## Install

Install with [npm](https://www.npmjs.com/)

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

## Usage

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

## Running tests

Install dev dependencies:

```sh
$ npm i -d && npm test
```

## Contributing

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/saahild.com/is-react-instance/issues)

## Author

**Neon**

* [github/](https://github.com/NeonGamerBot-QK)

## License

Copyright © 2024 [Neon](#Neon)
Licensed under the MIT license.