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

@stevewilliam138/scripts

v1.0.6

Published

This is a README.md file, initially stored in an empty folder called "scripts". I created it before running my npm init --scope=@stevewilliam138 -y command to create my package.json file, so that it would be included as the description field in that file

Downloads

3

Readme

I spent all day of 8/10/2021 failing to publish my first package ever to npm publicly, and in the early hours of 8/11/2021 hopefully my 2nd and attempt goes much smoother. For the record, it did, now 2:13 am and I've got this down.

This is a README.md file, initially stored in an empty folder called scripts (also the package name, now that it is published, preceded with my scope - @stevewilliam138/scripts).

I created it before running npm init --scope=@stevewilliam138 -y command to create package.json. Using --scope in this way makes our default "name" field in package.json be set to the folder name (preceded by the scope). If README.md exists before creating package.json, part of it is used as the "description" field in that file by default. The "desciption" field doesn't include this whole file, nor even reads from the start, but I will learn more about this later... I have also previously configured my "author" field from the command line with these:

npm set init.author.name "Steve Williams"

npm set init.author.email "[email protected]"

npm set init.author.url "https://stevewilliams2021.github.io/

With all this, auto-generated package.json files always have a package name with my public scope (from init), version 1.0.0 (default), author set with my information, and a description if a README.md exists.

Version 1.0.0

Nothing more than this file, published with npm publish --access public, and my package.json file.


Version 1.0.1

I added index.js. This has a function printMsg() that can be utilized in another package or module by first installing this package (npm install @stevewilliam138/scripts in project directory), and then adding and using it with:

const scripts = require('@stevewilliam138/scripts');

scripts.printMsg();


Version 1.0.2

Forgot to update README.md on 1.0.1, updated to reflect that but it's still ugly, just look.


Version 1.0.3

Fixed README.md formatting (not).


Version 1.0.4

Fixed README.md formatting.


Version 1.0.5

Fixed README.md formatting!!! Jeez lol.


Version 1.0.6

Still just README.md formatting, how fun. Need to start previewing my .md files before pushing.