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

@bm1314/passshare-core

v1.1.0

Published

A gopass-compatible password manager for teams and individuals

Readme

@passshare/core

A gopass-compatible password manager for teams and individuals.

© 2026 株式会社BM1314. All rights reserved.

Features

  • gopass/pass compatible: Works with existing password stores
  • GPG & Age encryption: Choose your preferred encryption backend
  • Git integration: Automatic version control and sync
  • Team sharing: Multiple recipients for shared secrets
  • TypeScript first: Full type safety and IntelliSense support

Installation

npm install @passshare/core
# or
pnpm add @passshare/core

Quick Start

import { Gopass, Secret } from '@passshare/core';

// Initialize
const gopass = new Gopass();

// Get a secret
const secret = await gopass.get('email/gmail');
console.log(secret.password);
console.log(secret.get('username'));

// Create a new secret
const newSecret = new Secret(
  'super-secret',
  { username: '[email protected]' }
);
await gopass.set('new/secret', newSecret);

// Generate a password
const password = await gopass.generate('another/secret', { length: 32 });
console.log(password);

// List secrets
const secrets = await gopass.list();
secrets.forEach(name => console.log(name));

API

Gopass

The main entry point for password management.

const gopass = new Gopass(configPath?: string);

// Secret operations
await gopass.get(name: string): Promise<Secret>
await gopass.set(name: string, secret: Secret): Promise<void>
await gopass.delete(name: string): Promise<void>
await gopass.exists(name: string): Promise<boolean>
await gopass.list(prefix?: string): Promise<string[]>

// Password generation
await gopass.generate(name: string, options?: GenerateOptions): Promise<string>

// Sync
await gopass.sync(store?: string): Promise<void>

// Mount management
gopass.mounts: Map<string, string>
gopass.mount(alias: string, path: string): void
gopass.unmount(alias: string): void

Secret

Represents a secret with password, key-value data, and notes.

const secret = new Secret(
  password: string,
  data?: Record<string, string>,
  body?: string
);

secret.password: string
secret.get(key: string): string
secret.set(key: string, value: string): void
secret.keys(): string[]
secret.body: string
secret.otp(): string | null

Password Generation

import { generatePassword } from '@passshare/core';

// Random password
const password = generatePassword({ length: 24, symbols: true });

// XKCD-style password
const xkcdPassword = generatePassword({ xkcd: true, xkcdWords: 4 });

OTP Support

import { TOTP, parseOtpUri } from '@passshare/core';

// From secret
const secret = await gopass.get('2fa/github');
const code = secret.otp();

// Manual
const totp = new TOTP('BASE32SECRET');
const code = totp.generate();

License

MIT License