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

@petercjl/semantic-image-slicer

v0.1.1

Published

Local-first semantic slicing for long ecommerce images, with previewable cut plans for Codex and SealSeek.

Readme

@petercjl/semantic-image-slicer

Local-first semantic slicing for long ecommerce and document images. It analyzes horizontal whitespace and content density, produces a reviewable cut plan, renders a cut-line preview, and exports numbered slices without uploading the source image.

Quick start

npx @petercjl/semantic-image-slicer doctor
npx @petercjl/semantic-image-slicer analyze long-image.jpg -o plan.json
npx @petercjl/semantic-image-slicer preview plan.json -o preview.jpg
npx @petercjl/semantic-image-slicer cut plan.json -o slices

Or run the complete workflow into a new directory:

npx @petercjl/semantic-image-slicer run long-image.jpg -o result

The default semantic mode uses variable-height slices. Use --ratio 9:16 for a screen target, or --max-height 3000 for a platform limit.

Safety and privacy

All image processing is local. Output paths are never overwritten: existing plan and preview files, or non-empty output directories, produce a structured OUTPUT_EXISTS error.

Agent Skill

The canonical portable Skill ships inside this npm package. Inspect or install its managed links with:

longslice skill source
longslice skill status --agent all
longslice skill install --agent codex
longslice skill install --agent sealseek
longslice skill update --agent sealseek

Codex and SealSeek share the same CLI implementation and canonical Skill source. The CLI resolves Agent targets with cross-platform path APIs, supports CODEX_SKILLS_DIR and SEALSEEK_SKILLS_DIR overrides, and accepts --target <path> when the host exposes a different managed Skill directory.

Installation uses --mode auto by default: it creates a managed link when supported and falls back to a managed copy when linking is unavailable. Managed copies include package version and content-hash metadata so skill status and skill update can verify them without maintaining an independent business-logic copy.