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

doc-history

v1.0.3

Published

copies a cleaned up version of your previous commands to the clipboard to use in making documentation easier

Downloads

17

Readme

doc-history

copies a cleaned up version of your previous commands to the clipboard to use in making documentation easier


Node License: Unlicense.

Install & run

Npm

npm install --global doc-history

Usage:

doc-history -n 10

How it works

what i would do before doc-history

>history
1794  code docker-compse.yml 
1795  mv docker-compse.yml docker-compose.yml 
1796  docker-compose up -d
1797  code docker-compose.yml 
1798  docker-compose up -d
1799  docker ps
1800  docker ps -f
1801  docker ps -t
1802  docker ps 
1803  docker ps -t
1804  docker ps 
1805  docker-compose logs
1806  code .env
1807  docker-compose up
1808  docker-compose up -d
1809  docker-compose logs -f
1810  docker-compose up -d

remove duplicates

>history
1797  code docker-compose.yml
1806  code .env
1807  docker-compose up
1808  docker-compose up -d
1809  docker-compose logs -f

delete line numbers

>history
code docker-compose.yml
code .env
docker-compose up
docker-compose up -d
docker-compose logs -f

copy paste into my github markdown page and add markdown styling

```bash
code docker-compose.yml
code .env
docker-compose up
docker-compose up -d
docker-compose logs -f```

doc-history Improves this workflow

doc-history -n 10

This is copied to your clipboard!

now Paste this into markdown doc!

# 
```bash
code docker-compose.yml
code .env
docker-compose up
docker-compose up -d
docker-compose logs -f```

Development

how to publish docker image to docker hub

git clone https://github.com/wisehackermonkey/doc-history.git

cd doc-history

how to build

npm install --global .

remove locally

npm uninstall --global doc-history 
list install global deps
npm ls -g --depth=0

how to publish package

npm login

npm version minor
OR
npm version patch

npm publish
npm uninstall --global doc-history
npm install --global doc-history

Future Additions

  • Fuzzy matching EX:
these get remove
powershell.exe /version
powershell.exe \version
  • wizard that asks about to pick which ones you want to keep

Contributors

Made with contributors-img.

License

This project is licensed under the License: Unlicense.