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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cbashik/meroshare

v0.1.1

Published

CLI tool for Meroshare — view portfolio and apply for IPOs across multiple accounts

Readme

@cbashik/meroshare

A command-line tool to view your portfolio and apply for IPOs across multiple Meroshare accounts.

Features

  • Portfolio Viewer — See share holdings across all your accounts in one table
  • IPO Apply — Apply for open issues from all accounts with a single command
    • Checks each account's apply status before proceeding
    • Lets you select individual accounts or apply to all unapplied at once
    • Fetches bank details automatically from the API
  • Account Management — Add, remove, update accounts interactively
  • Secure Storage — Credentials stored in macOS Keychain (falls back to config.json on other platforms)

Zero runtime dependencies. Uses system curl under the hood to communicate with the Meroshare API.

Getting Started

# 1. Check dependencies and create config
npx @cbashik/meroshare@latest init

# 2. Add your accounts
npx @cbashik/meroshare@latest configure

# 3. View portfolio
npx @cbashik/meroshare@latest portfolio

# 4. Apply for an IPO
npx @cbashik/meroshare@latest apply

Commands

npx @cbashik/meroshare@latest init           # Check curl, Node.js, set up storage
npx @cbashik/meroshare@latest configure      # Add accounts interactively
npx @cbashik/meroshare@latest accounts       # List, add, remove, or update accounts
npx @cbashik/meroshare@latest portfolio      # Show portfolio (default)
npx @cbashik/meroshare@latest apply          # Apply for an open IPO
npx @cbashik/meroshare@latest migrate        # Migrate config.json → macOS Keychain
npx @cbashik/meroshare@latest help           # Show help
npx @cbashik/meroshare@latest version        # Show version

Running without a command defaults to portfolio:

npx @cbashik/meroshare@latest

Storage

On macOS, credentials are stored securely in the system Keychain. No plain-text config file is needed. Run migrate to move existing accounts from config.json to Keychain:

npx @cbashik/meroshare@latest migrate

On Linux and Windows, config is stored at ~/.config/meroshare/config.json or %APPDATA%\meroshare\config.json.

You can set up accounts interactively with configure, or on non-macOS systems edit the file directly:

{
  "accounts": [
    {
      "dpCode": "11000",
      "username": "02376518",
      "password": "your_password",
      "crn": "S01707232100",
      "transactionPin": "1234"
    }
  ]
}

| Field | Description | Required For | | ---------------- | --------------------------------------- | ---------------- | | dpCode | Depository Participant code | All commands | | username | BOID number | All commands | | password | Meroshare login password | All commands | | crn | CRN number | apply | | transactionPin | 4-digit transaction PIN | apply |

Apply Flow

When you run apply:

  1. Lists all currently open issues
  2. You select an issue to see its details (kitta limits, share value, manager)
  3. Logs into all accounts and checks which have already applied
  4. Displays account list with Applied / Not Applied status
  5. You choose to apply to all unapplied accounts or pick a specific one
  6. Enter the number of kitta
  7. Confirm, then it applies one by one and shows a summary

License

MIT