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
- Host: GitHub
- URL: https://github.com/neongamerbot-qk/is-react-instance
- Owner: NeonGamerBot-QK
- Created: 2024-02-27T16:20:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-27T16:22:05.000Z (over 2 years ago)
- Last Synced: 2025-03-19T12:54:30.931Z (over 1 year ago)
- Topics: github-include-on-site, npmjs, react
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/is-react-instance
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.