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

adhoc

v0.2.0

Published

Start a web server in that directory. This instant! (like python -m SimpleHTTPServer on steroids)

Downloads

12

Readme

한문 사용서 (Korean documentation)

Adhoc: the Web Dev's Lil' Helper

Start a web server in that directory. This instant! (like python -m SimpleHTTPServer on steroids)

  • Start a lightweight web server from anywhere with a single command
  • No need to repeatedly press [F5] (reload) or even start your browser!
  • Instantly see changes to web pages after saving an asset (simultaneously from multiple browsers!)
  • View most pertinent server log information at a glance
  • Navigate to a local WIP web site from your browser

Simple Installation:

npm -g install adhoc

How to Use:

$ ls
index.html style.css script.js image.png

$ adhoc
The adhoc server is now hosting c:/wip-site/ at http://localhost:80/
Started live reload server on port 35729
Hit CTRL-C to stop the servers. Launching your default browser...
GET 200  54ms - 11.16kb /
GET 200   9ms -  5.20kb /style.css
GET 200  45ms - 97.63kb /script.js
...
...

Edit index.html, script.js, style.css, or image.png... watch all your browsers refresh automatically!

Usage Instructions:

adhoc [options] [path]

  -n, --nobrowser       supress automatic browser launch
  -v, --verbosity=NUM   server log level 0 to 4             [default: 3]
  -p, --port=NUM        port to use                         [default: 80]
  -r, --noreload        supress live reload
  -c, --nocolors        supress colors
  -t, --ttl=SECONDS     browser cache time (in seconds)     [default: 0]
  -i, --index=FILENAME  default index filename              [default: index.html]
  -h, --help            display this help

Copyright John-Kim Murphy

Based on http-server