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

henrybuilt-js-library

v1.8.316

Published

This is a shared JavaScript library intended to be used by both clients and servers.

Downloads

369

Readme

henrybuilt-js-library

This is a shared JavaScript library intended to be used by both clients and servers.

Do not add code that is client-or-server-only.

Instructions

Setup

  • git clone https://github.com/henrybuilt/henrybuilt-js-library
  • npm install
  • npm test - verify that tests are passing - don't worry about code coverage for now
  • checkout a branch

Modifying the library

  1. inside henrybuilt-js-library

    1. set up a working branch and version

      1. determine the new version number, like 1.1.0
      2. git checkout -b v-X-X-X where X-X-X is like 1-1-0 and corresponds to the version
      3. update version: in package.json to the new version number
    2. develop your feature(s)

      1. make your modifications inside /src and keep test coverage at 100%
      2. if you're working with henrybuilt-website
        1. open another terminal tab and run npm run develop
        2. temporarily uncomment line 147 in henrybuilt-website/app/controllers/application_controller.rb
    3. run npm run build until it builds without errors

    4. push and Max will manage deployment

    5. if you have permission to publish

      1. git checkout master and git pull
      2. npm publish
  2. inside henrybuilt-website

    1. update ENV['HENRYBUILT_JS_LIBRARY_VERSION'] inside config/application.rb
    2. restart the server
    3. verify your update worked via chrome console by typing lib, pressing enter, and reviewing it or actually using it

TODO

  • JSFiddle with access
  • CI
  • any general classes
  • make it so henrybuilt-website doesn't need to be restarted

, "_moduleAliases": { "@src": "./src" }