npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rn-dev-bugtool

v1.0.4

Published

A dev-only bug reporting tool for React Native and Expo apps triggered by device shake.

Readme

rn-dev-bugtool 🚀 A powerful, dev-only bug reporting tool for React Native and Expo apps. Triggered by device shake, it captures critical information to help you debug and fix issues faster. Perfect for development environments and debugging mobile apps on the go.

Features ✨ Shake to report: Trigger bug reporting with a simple shake of your device.

Captures console logs: Collect console logs for debugging.

Network logs: Capture network request data for easier debugging.

Crash logs: Gather detailed crash reports.

Local state: Collect async storage data to understand app state.

Easy integration: Simple setup for both React Native and Expo apps.

Installation 📦

  1. Install via npm: bash Copy Edit npm install rn-dev-bugtool
  2. Or install via yarn: bash Copy Edit yarn add rn-dev-bugtool Setup 🔧 Step 1: Integrate BugReportModal into your App Add the BugReportModal component in your app where you'd like to show the bug reporting UI

tsx Copy Edit import { BugReportModal } from 'rn-dev-bugtool';

const App = () => { const [visible, setVisible] = useState(false);

const handleSubmit = async ({ title, description }) => { console.log('Bug Report Submitted:', title, description); // Handle the submission (e.g., send to a backend or save locally) };

return ( <> <BugReportModal visible={visible} onClose={() => setVisible(false)} onSubmit={handleSubmit} /> {/* Other app components */} </> ); }; Step 2: Configure Shake Event You can use the Expo Accelerometer to trigger the shake event.

tsx Copy Edit import { useShake } from 'rn-dev-bugtool';

const App = () => { const [visible, setVisible] = useState(false); const shakeHandler = useShake(() => { setVisible(true); // Show bug report modal when the device is shaken });

return ( <> <BugReportModal visible={visible} onClose={() => setVisible(false)} onSubmit={handleSubmit} /> </> ); }; Usage 📊 Once integrated, users can trigger bug reports simply by shaking their device. The tool collects useful logs like:

Console Logs: Helps in capturing detailed app behavior.

Network Logs: Useful for debugging API calls.

Crash Reports: Automatically collects any crash-related logs.

Local State: Fetches app data from AsyncStorage to help with debugging app state.

Customization 🎨 You can further customize the tool as needed by modifying the source code, or adding additional collectors based on your app's requirements.

Collector Files: You can modify or add more collectors for different logs like Redux state, device info, etc.

Example: Add a new collector to capture Redux state:

tsx Copy Edit import { collectReduxState } from './reduxCollector';

const collectState = async () => { const reduxState = await collectReduxState(); console.log('Redux State:', reduxState); }; Contributing 🤝 We welcome contributions to improve this tool! Feel free to open issues or pull requests. Here's how you can get started:

Fork the repository.

Create a branch (git checkout -b feature-branch).

Make changes and commit them (git commit -am 'Add feature').

Push to the branch (git push origin feature-branch).

Open a pull request.

License 📝 MIT License. See the LICENSE file for more details.

Roadmap 📈 Support for more logging options (Redux state, device logs)

Provide customizable modal themes

Improve performance and add more integrations

Add better error handling and recovery in the tool