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

clark-pack

v1.2.6

Published

Bootstrapping my repo with files and configurations I always use, intended for personal use!

Downloads

4

Readme

No-Sweat™ Clark-Pack

This is my attempt at setting up a project/repo with all the config files and npm scripts I need to get up and running as fast as possible

What it does

It automatically adds the following to my package.json scripts

"build": "webpack",
"docs": "npx --yes documentation build src/** -f md > README[sample].md",
"html": "npx --yes documentation build src/** -f html -o htmlDocs",
"release": "standard-version && git push --follow-tags origin main && npm publish",
"lint": "eslint .",
"lint:fix": "eslint . --fix",

It also installs all the npm dependencies I would need as well.

You are very welcome to overwrite any of these settings, or just fork the entire thing to create your own.

What's Included

  • Commitlint lints your comments based on conventional commits' Standards

  • Husky uses githooks to lint the commits before they are actually executed (pre-commit hook)

    I combined these two to create commitlint-with-husky to do it right everytime without having to re-watch a tutorial

  • A webpack config file with terser setup for easy bundling pre loaded with commented out options

  • Semantic Versioning & CHANGELOG generation with standard-version

  • Place a copy of my license file in my repository

  • Place a copy of my .gitignore file with my preferences

  • Place a copy of a Readme template to ensure I describe my repository

  • Scripts installed to the package.json to trigger linting, documentation generated from jsdoc comments and a build from webpack as well as bump up the version of my repo and create a new tag

Installing/Usage

  1. If you don't already have a package.json file, create one with npm init.

  2. Then ensure you have a .git folder create one with git init.

  3. In the root of your project execute the following command in your terminal:

npx --yes clark-pack

The configuration files will be added to your project copied from the package itself which is why you first need to install it and then execute it with NPM's package runner NPX.

  1. It will then start installing all the dependencies and will notify you when it is done

Notice

This is solely intended for personal use and personal projects, I just thought I'd share it with fellow developers who might want to use it or fork their own strategy. I work on a windows machine, to the best of my knowledge the package works on all platforms, if not please don't hesitate to let me know.

Enjoy!

MIT