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 🙏

© 2025 – Pkg Stats / Ryan Hefner

bitshit

v1.2.1

Published

Your Personal Modifiable Git

Readme

Bit Repository Manager

Bit Logo

Bit Repository Manager is a simple and efficient command-line tool designed to help you manage your Bit repositories with ease. It allows you to initialize a new Bit repository, add files, read files, and hash files seamlessly.

Features

✅ Initialize a new Bit repository
✅ Add files to the Bit repository
✅ Read file contents from the repository
✅ Generate a hash for files
✅ Simple and lightweight command-line tool
✅ Easy setup and installation

Installation (User)

npm version npm downloads npm install globally

npm i -g bitshit

Installation (Development)

To install Bit Repository Manager, follow these steps:

# Clone the repository
git clone https://github.com/TheAvtarSingh/bit

# Navigate to the project directory
cd bit

# Install dependencies
npm install

Usage

Once installed, you can use the following commands to manage your Bit repository:

Initialize a new Bit repository

bit init

This command initializes a new Bit repository in your current directory.

  • Support till v1.0.0

Add files to the Bit repository

bit add <filename>

Replace <filename> with the name of the file you want to add to the repository.

Read file contents from the repository

bit read-file <hash>

This command retrieves the contents of a file stored in the repository using its hash.

Generate a hash for a file

bit hash-my-file <filename>

This command generates a unique hash for a file and stores it in the Bit repository.

Example Workflow

  1. Initialize a new Bit repository:

    bit init

    Output: "Bit repository initialized successfully!"

  2. Add a file to the repository:

    bit add example.txt

    Output: "File 'example.txt' added to the repository."

  3. Read file contents using its hash:

    bit read-file a1b2c3d4e5f6g7h8i9j0k

    Output: "File content: Hello, world!"

  4. Generate a hash for a file:

    bit hash-my-file example.txt

    Output: "Generated hash for example.txt: a1b2c3d4e5f6g7h8i9j0k"

Screenshots

Initializing a Bit Repository

Initialize Bit Repo

Adding and Reading Files from the Repository

Adding Files

Contributing

We welcome contributions! To contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-<yourname>-<feature>).
  3. Commit your changes (git commit -m '<yourname>-<Feature Description>').
  4. Push to the branch (git push origin feature-<yourname>-<feature>).
  5. Open a Pull Request.

License

This project is licensed under the MIT License.

Support

For any issues or feature requests, feel free to open an issue or contact us at [email protected].