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

create-noodle-app

v1.2.9

Published

A CLI tool to help me setup new projects using project templates.

Downloads

83

Readme

create-noodle-app

A CLI tool to help me setup new projects using project templates.

The noodle-ness is unimportant. A random name generator gave me the NPM username noodles-please-me, so now everything on NPM is noodle themed.

Usage

  • npm install -g create-noodle-app
  • create-noodle-app

Background

Currently, every time I make a new node project, I have to go to one of the following two packages, and clone them manually:

  • https://github.com/RyanMKrol/BaseNodeApiProject
  • https://github.com/RyanMKrol/BaseNodeReactProject

I then have to replace every piece of boilerplate code in areas like:

  • package.json
  • README.md
  • the deployment scripts

This CLI tool will do these tasks for me, speeding up the spin-up time for creating a new Node project!

Most importantly this will also help me codify the lessons I've learned, allowing me to benefit from my learnings automatically in future projects.

Sources

This article provided a lot of boilerplate code:

  • https://medium.com/@pongsatt/how-to-build-your-own-project-templates-using-node-cli-c976d3109129

A lot of the work I did in this project was cleaning the entire thing up, using proper patterns, and optimising the workflow.

You can find the article's source code here:

  • https://github.com/pongsatt/mycli

Notes

When creating a new template, you have to format certain files differently to how you might expect:

  • package.json files must be package.txt
    • This is because the npm build process will pick up on any package.json file in the tree, so this is a quick way to solve this problem.
  • .gitignore files must be gitignore.txt
    • Similar story to the above, but with git; git will pick up on any .gitignore file, so these need to be changed slightly to avoid this.