Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clayrisser/react-native-ignore-warnings
⚛️🤷⚠️ Ignore react native warnings and logs
https://github.com/clayrisser/react-native-ignore-warnings
console error ignore info log native react react-native warn warning
Last synced: 2 months ago
JSON representation
⚛️🤷⚠️ Ignore react native warnings and logs
- Host: GitHub
- URL: https://github.com/clayrisser/react-native-ignore-warnings
- Owner: clayrisser
- License: apache-2.0
- Created: 2018-02-14T03:05:52.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2021-07-10T00:10:13.000Z (over 3 years ago)
- Last Synced: 2024-10-04T16:25:07.473Z (3 months ago)
- Topics: console, error, ignore, info, log, native, react, react-native, warn, warning
- Language: Makefile
- Homepage: https://siliconhills.dev
- Size: 80.1 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-ignore-warnings
[![NPM](https://img.shields.io/npm/v/react-native-ignore-warnings.svg?style=flat-square)](https://www.npmjs.com/package/react-native-ignore-warnings)
[![NPM](https://img.shields.io/npm/dt/react-native-ignore-warnings.svg?style=flat-square)](https://www.npmjs.com/package/react-native-ignore-warnings)
[![GitHub stars](https://img.shields.io/github/stars/clayrisser/react-native-ignore-warnings.svg?style=social&label=Stars)](https://github.com/clayrisser/react-native-ignore-warnings)> ⚛️🤷⚠️ Ignore react native warnings and logs
Please ★ this repo if you found it useful ★ ★ ★
## Features
- Ignore warnings
- Ignore logs
- Ignore react native yellow box
- Compatible with Expo## Installation
```sh
npm install --save react-native-ignore-warnings
```## Dependencies
- [NodeJS](https://nodejs.org)
- [React Native](https://facebook.github.io/react-native)## Usage
```ts
import ignoreWarnings from 'react-native-ignore-warnings';ignoreWarnings(['Watch your six', 'Mind the gap', 'Beware the ides of March']);
ignoreWarnings('error', ['The house is on fire', 'System failure']);
ignoreWarnings('log', 'Hello, world');
```## Support
Submit an [issue](https://github.com/clayrisser/react-native-ignore-warnings/issues/new)
## Contributing
Review the [guidelines for contributing](CONTRIBUTING.md)
## License
[Apache-2.0 License](LICENSE)
[Silicon Hills LLC](https://siliconhills.dev) © Copyright 2018-2021
## Credits
- [Clay Risser](https://clayrisser.com) - Author