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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@roboplay/plugin-devtools

v0.1.0

Published

Tools for Robo development.

Downloads

1

Readme

🚀 @roboplay/plugin-devtools

Welcome to @roboplay/plugin-devtools! For developers fine-tuning their Robo.js projects, this plugin is a must-have. Seamlessly test Robo APIs, monitor resources, and emulate specific Robo behaviors, all in one package. Just install, and you're ready to go!

Installation 💻

To integrate this plugin into your project, simply navigate to your Robo directory and input:

npx robo add @roboplay/plugin-devtools

Voilà! Your Robo is now supercharged with development tools.

⚠️ Important Note

This plugin is crafted explicitly for development environments. Before deploying your Robo, ensure you uninstall this plugin to prevent users from directly manipulating your server or database.

Execute the following to safely remove:

npx robo remove @roboplay/plugin-devtools

Commands

Equip your Robo with the following commands for an enhanced development experience:

| Command | Description | | --------------------------------- | --------------------------------------------------------------------------------------------------------- | | /devtools example defer | Demonstrates Sage's auto deferral feature, showcasing varying behaviors. | | /devtools example error | Intentionally triggers an error, either asynchronous or not—great for validating Sage's debug mode setup. | | /devtools example permission-dm | Illustrates slash command usage outside of direct messages. | | /devtools flashcore clear | Caution! Wipes out all Flashcore values. | | /devtools flashcore delete | Removes a specific key from Flashcore. | | /devtools flashcore get | Retrieves the current value of a Flashcore key. | | /devtools flashcore set | Assigns a value to a Flashcore key. | | /devtools flashcore watch | Observes key changes, highlighting differences and sending notifications. | | /devtools module check | Confirms if a particular module is active. | | /devtools module set | Toggles a module's active state. | | /devtools state get | Fetches a state value. | | /devtools state set | Alters a state value. |

For those eager to delve deeper into Robo APIs, inspecting the plugin's source code provides good usage examples. Trust us, it's simpler than you may think!

Resource monitoring

Efficiency is key! The DevTools plugin also empowers you with a mechanism to supervise CPU and RAM utilization over time. This resource monitoring is instrumental in gauging the performance of your Robo and pin-pointing areas for enhancement.

To enable this feature, set monitorResources to true in the plugin's configuration. By default, the plugin will check resources every 5 seconds, but you're free to adjust the monitorInterval:

export default {
	monitorInterval: 10_000, // Inspects every 10 seconds
	monitorResources: true // Activates resource monitoring
}

Yet to set foot in the Robo.js universe? Embark on your Robo journey now!

Level up your development process with Robo.js and the DevTools plugin! 🚀