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

@sehlceris/claude-code-setup

v1.1.0

Published

Non-interactive setup script that configures Claude Code global settings the way I like them

Readme

@sehlceris/claude-code-setup

Non-interactive setup script that configures Claude Code's global settings the way I like them.

Runs once, writes to ~/.claude/settings.json, exits. No prompts, no per-project files, no fuss.

Usage

From a local clone (no publish required)

git clone https://github.com/sehlceris/claude-code-setup.git
cd claude-code-setup
npm start

From npm

npx @sehlceris/claude-code-setup

Or install globally:

npm i -g @sehlceris/claude-code-setup
claude-code-setup

What it does

Deep-merges the following into ~/.claude/settings.json (Windows: %USERPROFILE%\.claude\settings.json). Existing keys are preserved — only the keys below are added or overwritten.

{
  "attribution": {
    "commit": "",
    "pr": ""
  },
  "autoCompactWindow": 400000
}

It also removes env.CLAUDE_CODE_DISABLE_1M_CONTEXT if a previous run set it.

Why these settings

| Setting | Effect | | --- | --- | | attribution.commit = "" | No Co-Authored-By: Claude... line in git commits | | attribution.pr = "" | No AI attribution footer in PR descriptions | | autoCompactWindow = 400000 | Auto-compact once the conversation reaches 400K tokens |

autoCompactWindow is the same key the /autocompact slash command writes, so setting it here is equivalent to running /autocompact 400k. It must be an integer between 100,000 and 1,000,000; values outside that range are silently ignored by Claude Code.

The 1M context window is deliberately left enabled. CLAUDE_CODE_DISABLE_1M_CONTEXT caps the model at 200K, and autoCompactWindow is clamped to the model's limit — so with that flag set, any window above 200K is quietly capped back down. Keeping the 1M window and compacting at 400K gives the summarizer headroom instead.

Note that a CLAUDE_CODE_AUTO_COMPACT_WINDOW environment variable, if set, takes priority over this setting.

Customizing

Edit the SETTINGS_PATCH object at the top of bin/cli.js to add/remove settings. The script deep-merges, so nested keys are safe to add. Setting a value to null deletes that key from the existing settings rather than writing it — useful for retiring a setting an earlier run applied.

Platform support

Works on macOS, Linux, and Windows. The settings path resolves via $HOME or %USERPROFILE%.

Publishing to npm

# One-time login
npm login

# Scoped packages are private by default — use --access public
npm publish --access public

To publish a new version, bump first:

npm version patch   # or minor / major
npm publish --access public

License

MIT