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

noder

v0.0.12

Published

Node.js Simple Web Utility

Downloads

5

Readme

Noder - Simple HTTP Server

This is a simple web server write by node.js. You can quickly start a web server for outside access through one line. It's easy way for frontend web developer to test prototype page and need not to build a apache or other web server.

#Install Install using npm...

# sudo npm install noder -g

PS: The "sudo" will depend on your role of this computer.

#Usage Default, server start at 1337 port...

# noder
Server running at http://127.0.0.1:1337/

Advance usage:

You can also using the parameters to control the host, port for the service listen. And the allow or deny parameters for the filter of user query.

noder -h 192.168.1.205 -p 8080 -a png,html -d jpg

You can see the help page for the parameters.

Help page:

Open the help page using "noder --help".

# noder --help

  Usage: noder [options]

  Options:

    -h, --help                     output usage information
    -V, --version                  output the version number
    -i, --host address <ip>        Specific host, like 192.168.1.1, default is all ip listened
    -p, --port <port>              Specific port, like 80,3000,8080, default is 1337
    -a, --allow <allow file type>  Specific the allowed file types that seprate by ",", default is all
    -d, --deny <deny file type>    Specific the denied file types that seprate by ",", default is none

#Open Browser Browser View http://127.0.0.1:1337/test.html (Assump that the test.html exist in the current folder)

# noder
Server running at http://127.0.0.1:1337/
Got fileType:html
<Buffer 3c 68 31 3e 48 45 4c 4c 4f 2e 2e 2e 3c 2f 68 31 3e 0a>

#Log level settup We following the log4js to write log, see: https://github.com/nomiddlename/log4js-node.git. If you want to see more log in the program, you can try to modify the environment setting of "LOG_LEVEL": In Linux or Mac, you can export like:

export LOG_LEVEL=INFO

In Windows, you can use "set" like:

set LOG_LEVEL=INFO

#Read a md project You can use noder to see a markdown project now. Follow the command:

$ noder -m XXX.md

Then the noder will use XXX.md to be your menu page and render the other md in the main block.