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

synap

v0.8.2

Published

A CLI for externalizing your working memory

Readme

synap

A CLI for externalizing your working memory - capture ideas, projects, features, todos, and questions.

npm version License: MIT Node.js

Features

  • Quick Capture - Add ideas, todos, projects, and questions with minimal friction
  • Agent-Ready - Built-in --json flag for AI agent integration
  • Hierarchical Organization - Link entries as parent/child relationships
  • Full-Text Search - Search content and tags across all entries
  • Import/Export - Backup and restore your data in JSON or CSV format
  • Claude Code Integration - Bundled skill teaches AI agents how to use the tool
  • Safe Deletions - All deletions are logged and reversible with restore
  • User Preferences (Memory) - Store agent-readable preferences for consistent behavior
  • Setup Wizard - Guided first-run experience for new installs

Installation

npm install -g synap

Quick Start

# Capture thoughts quickly
synap add "Research state management options for the new app"
synap todo "Review PR #42 before standup"
synap idea "What if we added dark mode?"
synap question "How does the auth flow work?"

# See what needs attention
synap focus              # P1 todos + active projects
synap list --status raw  # Unprocessed entries

# Organize and complete
synap set abc123 --status active --priority 1
synap done abc123

# Search and explore
synap search "auth"
synap tree               # Hierarchical view

# First-run setup
synap setup

Commands

| Command | Description | |---------|-------------| | synap add <text> | Quick capture (defaults to idea) | | synap todo <text> | Add a todo | | synap question <text> | Add a question | | synap idea <text> | Add an idea | | synap project <text> | Add a project | | synap feature <text> | Add a feature | | synap note <text> | Add a note | | synap ref <text> | Add a reference | | synap list | List entries (with filters) | | synap show <id> | Show entry details | | synap search <query> | Full-text search | | synap edit <id> | Edit entry content | | synap set <id> | Update entry metadata | | synap link <id1> <id2> | Link entries together | | synap done <id> | Mark entry as done | | synap archive <id> | Archive entry | | synap delete <id> | Delete entry (logged) | | synap restore | Restore deleted entries | | synap export | Export entries to file | | synap import <file> | Import entries from file | | synap stats | Show statistics | | synap tree [id] | Hierarchical view | | synap focus | P1 todos + active projects | | synap review [daily\|weekly] | Guided review session | | synap triage | Interactive raw entry processing | | synap config [key] [value] | View/update configuration | | synap tags | List all tags with counts | | synap tags rename <old> <new> | Rename tag across entries | | synap install-skill | Install Claude Code skill | | synap preferences | View or update user preferences | | synap setup | Guided first-run wizard |

Run synap <command> --help for detailed options.

Filtering Examples

# By type and status
synap list --type todo --status active
synap list --not-type reference

# By tags
synap list --tags work,urgent
synap list --any-tags work,personal  # OR logic
synap list --not-tags archived

# By date
synap list --since 7d               # Last 7 days
synap list --before 30d             # Older than 30 days
synap list --between 2025-01-01,2025-01-31

Configuration

Configuration is stored at ~/.config/synap/config.json.

| Key | Default | Description | |-----|---------|-------------| | defaultType | idea | Default type for synap add | | defaultTags | [] | Tags automatically added to new entries | | editor | $EDITOR | Editor for synap edit | | dateFormat | relative | Display format: relative, absolute, or locale |

# View all config
synap config

# Set a value
synap config defaultType todo
synap config dateFormat absolute

Claude Code Integration

This CLI includes a skill that teaches Claude Code how to use synap effectively.

# Install the skill
synap install-skill

# Uninstall
synap install-skill --uninstall

Once installed, Claude Code can help you:

  • Capture ideas from conversations
  • Review and triage your entries
  • Organize projects hierarchically
  • Generate daily/weekly reviews
  • Follow your saved preferences from synap preferences

User Preferences (Memory)

Preferences are stored at ~/.config/synap/user-preferences.md and are readable by agents.

# View preferences
synap preferences

# Edit in $EDITOR
synap preferences --edit

# Append to a section
synap preferences --append "## About Me" "I prefer concise summaries."

# Reset to template
synap preferences --reset

Data Storage

All data is stored locally at ~/.config/synap/:

| File | Description | |------|-------------| | entries.json | Active entries | | archive.json | Archived entries | | deletion-log.json | Audit log for restore capability | | config.json | User configuration | | user-preferences.md | Agent-readable preferences |

Development

# Clone and install
git clone https://github.com/yourusername/synap-cli.git
cd synap-cli
npm install

# Run locally
node src/cli.js <command>

# Run tests
npm test           # Watch mode
npm run test:run   # Single run

# Link for global use during development
npm link

Requirements: Node.js >= 18.0.0

License

MIT