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 🙏

© 2026 – Pkg Stats / Ryan Hefner

lampjs

v0.1.1

Published

A CLI to help scaffold views in the IA LAMP JS frontend

Readme

LAMPjs

This is an experimental framework based on an existing LAMP stack for which I was asked to add a lot of JS-based functionality.

The site pages would still be loaded synchronously by the PHP. But rather than manage the HTML inside the PHP files, I've added in the Handlebars pre-compiler. In addition, I've also added lightweight JS views, LESS CSS, and dev automation through Grunt (linting, concatentating, minifying, livereload, etc).

This project contains the code for an installable CLI that automates much of the file copying, code templating, and general front-end structure within the PHP project.

Note: This is a beta. It is meant to work with a specific PHP/Apache framework that is not publicly available.

Pre-requisites

  • Node (recommend NVM)
    • Min 4.4.2; Tested on 6.10.0
  • NPM (comes with Node)
    • Min 2.15.0; Tested on 3.10.10
  • Grunt/Grunt CLI
    • Min 1.0.1/Min 1.2.0

Installation

From NPM (for use in a project)
  1. From your project directory, run npm install lampjs
    • Or install globally with npm install -g lampjs
From GitHub (for making changes)
  1. Clone this repo into a /LAMPJS directory
  2. From the /LAMPJS directory, run npm install -g

Usage

  • lampjs init
    • Run from project \js directory to initialize a new LAMPjs project within the PHP site.
    • Creates a site template with all node_modules installed, a Grunt config, and an initial Grunt build.
    • You should be able to navigate to the local Apache URL and see the site template.
  • lampjs create view test-page /Test/
    • Create a view named test-page that maps to a relative URL of /Test/
    • Handles all of the PHP updates, JS files, and LESS files.
  • lampjs destroy view test-page /Test/
    • Remove a view created by the create command
    • Handles all of the PHP updates, JS files, and LESS files.
  • lampjs help
    • Helpful tips and sample commands

Development

If you make any changes to this repo locally, you will have to run npm install -g to see the changes in the CLI.