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 🙏

© 2025 – Pkg Stats / Ryan Hefner

nodeserverphp

v0.0.1

Published

``` npm install node-servephp ```

Readme

node-servephp

npm install node-servephp

Description

Node-servephp is an http server for php built in nodejs and uses Module fastcgi-client. It just works like nginx for php or Wamp/xamp (apache) for php. Currently tested only on windows.

Node-servephp is basically build using �fastcgi-client� module, where Fastcgi-client module helps to communicate with phpfpm. Node-servephp is designed to provide friendlier environment for End users to build their php website using event driven server.

The difference between apache and node-servephp is the concept of Difference in thread based server and event driven based server. Nodejs is an event based and node-servephp acts like in that way.

Node-servephp is still in the initial phase of its development And needs more developer to contribute in this project.

Usage

  1. Install node-servephp using �npm install node-servephp� also Install its dependency fastcgi-client using �npm install fastcgi-client�.

  2. Install phpfpm. Latest versions of php contains phpfpm in itself, so download php from �http://windows.php.net/download/�.

  3. Through command prompt go to the php folder and execute the command �php-cgi.exe �b 127.0.0.1:9000�.This command runs phpfpm at port 9000;

  4. Through another command prompt go to node-servephp folder and run �node server.js 127.0.0.1 80�. Here 80 is port number. This will start the server.

  5. As like wamp, xamp all php and html files are stored in www folder, node-servephp also contains www folder to store all php and html files.

  6. We can also connect it to database that is the php part, download MySQL for your OS and start it using username and password and on host 127.0.0.1

API

Thanks

This project is based on the great work of node-fastcgi-client written by LastLeaf. LastLeaf/node-fastcgi-client.