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

@for-humans-lab/log-scope-win-app

v1.2.0

Published

The next gen log reader

Downloads

27

Readme

Log Scope 🔔

For-Humans-Lab

The app that provides you a better tool to monitor your rn application and debug it via log messages

⬇️ Installation

Pick a tool according to your OS:

  1. npm i @for-humans-lab/log-scope-linux-app
  2. npm i @for-humans-lab/log-scope-mac-app (Under construction 🔨)
  3. npm i @for-humans-lab/log-scope-win-app (Under construction 🔨)

⚠️ Some of a RN CLI files will be automatically patched. In other words, it slightliy changes the watch's tool behaviour in case of console use ⚠️

✅ Usage

The appliсaction handles all text messages from dev server's output in the specified format that are considered as

(route parts separated by '>' -> text message | data in JSON.)

e.g. App > Cart -> Init | {}

All this templating works are done by Log Scope Driver lib

Just follow the driver installation instructions

After a successful installation you can lunch the app: npx log-scope

🚀 Launching RN dev server

Press the play button in menu to start the server. The state of the server are shown in a status panel.

  • 🔵 The server is active
  • 🟠 Bindling
  • 🟣 App is running

🚀 To start bundling send an refresh signal (refresh button) to an remote app

After a successful launch logs will be rapidly colleted by Log Scope.

👀 Filtering

All log events have their routes, which are specified in a registration stage.

Next routes

["App", "Main page", "Maybe interesting"]
["App", "Main page"]
["App", "Cart"]

have the following filtering tree

tree

All routes are matched per part.

Other stuff

Also app contains:

  • ⚠️ Pretty traceback reader
  • 💅 Json data reader

🚄 Performance

In fact of internal implementation of node's child_process, each log entry walks through the following way: app > http transport > dev server > pipes > Log Scope. It makes possible to send a near unlimited amount of data in each log entry 🔥without performance loses🔥

⚒ Development

According to a environmental dependency of an application (RN CLI), you have to explicitly set the DEV_APPLICATION variable to your app's folder: /home/<USER>/repos/<app folder>.

So you can run the log scope in development mode: npm run dev for dev server and npm run start for app launch.

🔄 Releases

Packages are automatically published when some changes were merged in the master branch

👐 Contribution

Feel free to create PRs.