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

pairjs

v0.0.3

Published

Instant collaborative coding using the interweb!

Downloads

5

Readme

Instant pair programming, just add web!

PairJS is basically a supercharged, live collaborative editing equivalent of python -m SimpleHTTPServer. You pick a directory and it will not only serve up static files as a web server, but also give you and anyone else on your network access to edit those files via the handsome Ace editor. Better still, all that editing can happen concurrently, with no messy locks or conflicts, thanks to the unfathomable voodoo of ShareJS.

All files are saved back to your disk when they're edited so you can share something you're working on with a friend or coworker, edit it collaboratively, and then just git commit (or whatever) the files when you're done. Open one window to edit some html and another for a live-updating view of the result. Open two editors and argue with yourself. Go crazy! The world is your highly concurrent oyster.

I like your buzzwords, how can I get some of them?

Assuming you have nodejs installed, just run this:

$ npm install -g pairjs

And once the slobbering dependency behemoth is satisfied, do this:

$ cd WHEREVER_I_WANT_GOSH
$ pairjs

Then go here: http://localhost:8000/

A brief note because I'll feel bad if you wreck all your files

Hey, don't wreck all your files!

A longer note because the first one wasn't very useful

There is currently no auth. Edits are limited to the directory you provide, but giving someone access to write arbitrary data to a place you care about is inherently dangerous. There are no backups, so you should only use this in directories that are under source control or full of files that you never liked anyway. Your files will be accessible to anyone who can connect to your ip, so, y'know, if you see a guy with a handlebar moustache and devious eyes giving you that "I'm stealing your database passwords right out of your config file" grin from the other side of your favourite coffeeshop, don't come to me all like "you didn't tell me this would happen". Yes I did! Just then!