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

@phoenix-plugin-registry/pranaygp.js-live-debugger

v1.1.0

Published

An extension for brackets that lets you look at the output of individual JS code statements while coding.

Downloads

1

Readme

JS-live-debugger

An extension for brackets that lets you look at the output of individual JS code statements while coding.

Currently only supports node and generic Javascript Projects. If you are working on a JS project that leverages Browser APIs, you won't get an output since the extension relies on being able to run your script in node

How to install

Install using Brackets' built in extension manager

How to use?

  • Goto View>JS Live Debugger or use Cmd-Shift-J to open the JS live debugger panel.

  • If you are currently editing Javascript code, the debugger will show you the output of any variable if your cursor is on a line that declares/mutates/references that variable. Plus, the value of that variable that's show is it's value after execution of the current line your cursor is on.

Known Issues

The biggest issue that currently exists it that the value of a variable at a line can't be displayed if program execution doesn't reach the given line.

You can test this by writing a function definiton that contains a variable declaration under it. No output will be shown when your cursor is on the variable, unless the function is called sometime during program execution.

Another major issue is the inability to use this on scripts that leverage browser APIs

I plan to look into PhantomJS to find a solution for this. If you'd like to contribute to do so, that would be awesome!

Contributing

I built this extension as a tool that would help me and might potentially help a lot of other Brackets users. If you'd like to contribute and make this a better extension (while helping more people as you do so), follow these simple guidelines:

  1. Fork this repository
  2. Make changes
  3. Open a Pull Request

License

This project is Licensed under the GNU GPL v3 License (Refer to the LICENSE file in this repository).

Attributions

Pranay Prakash - Personal Site, LinkedIn, Github