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

listings-web

v0.0.1

Published

listings app frontend

Readme

Listings Web

This repo is responsible for user experience in the CBRE Dev Listings App. Pages served by this application are pre-rendered by a compute cluster and delivered as static html. We also deliver a client-side bundle of javascript that boots a react.js applicaiton on top of the static html.

Static html is rendered using react-dom-server's renderToString() method on the server. On page load we use react-dom's hydrate() method to boot the application.

Typically devlopers do not have to think about where their code is being executed as the same components are used to render server side and client side.

Build

This project includes a build script which will pre-transpile things that need to be babelized, as well as produce the client side bundle.

To run a build:

  1. npm install

  2. npm run build

  • there is an optional build-id flag that will create the rendered js in a directory names for that build id. usage: npm run build -- -build-id=<my-build-id> (note the wierd syntax)

This will create a /dist folder containing the transpiled version of this code as well as the client side bundle.

FAQ

How do I run this code locally?

Prerequisites:

Install node js TLS release (https://nodejs.org/en/)

Clone this repository

  1. npm install

  2. npm run build

  3. npm start

Hot re-loading

  1. touch ./config/local.yaml
  2. in local.yaml copy paste: staticAssets: host: localhost port: 8000 path: client bundleFilename: client.bundle.js stylesheetFilename: styles.css
  3. start server as above
  4. in a seperate terminal run npx webpack-dev-server

Running unit tests

Unit tests expect jest framework.

To run: jest at project root. To run in watch mode:

  1. brew update
  2. brew install watchman
  3. jest --watch

Note: You'll only have to install watchman once