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

purepass

v5.1.0

Published

## usage

Downloads

2

Readme

purepass-cli

usage

for an interactive password generation experience:

npx purepass -i

for a one liner you can use:

npx purepass -s someSuperSecret123 -n fb

The above command will hash the secret someSuperSecret123 and the namespace fb together, and generate a 64 character password. In this case that is:

Fb06#356efc68a3516973780bc826c59fcd4c7f22291708c29b0d557495177e

purepass is a pure function, the resulting password will always be the same if the same arguments are passed in.

Additional arguments

--maxPasswordLength is a string that can be supplied for websites like paypal that have a character cap of 20. The short alias for this command is -m.

--specialCharacter is a string that can be a string supplied to substitute the special character at index 2 in the resulting string with a different character than #. The short alias for this command is -c.

--copyToClipboard is a boolean option that uses clipboardy to copy the resulting password to the clipboard. The short alias for this command is -p.

--quiet is a boolean option that suppresses outputting your password to the console, and only uses clipboardy to copy the resulting password to the clipboard. The short alias for this command is -q.

Note: It is redundant (but harmless) to use copyToClipboard when in quiet mode

I will write a reference document about the algorythm, but it is very simple, and for those interested you can probably find all you need in the source code for this org.

Contributions are welcome!