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

scriptarium

v1.0.0

Published

A polyglot collection of reusable scripts and automation recipes. Run packaged PowerShell scripts via `npx scriptarium powershell <script>`.

Readme

Scriptarium

Scriptarium is a polyglot collection of reusable scripts and automation recipes. Designed for practical utilities across PowerShell, TypeScript, Python, YAML, and more.


📦 Run via npx

Once published to npm, you can run packaged PowerShell scripts directly:

# List available PowerShell scripts in the package
npx scriptarium list powershell

# Run a specific script (pass PowerShell args after `--`)
npx scriptarium powershell MoveBySearch -- -Search resume -Destination "S:\OneDrive\resume" -DryRun

On Windows, the CLI will prefer PowerShell 7 (pwsh) and fall back to Windows PowerShell (powershell) if needed. On macOS/Linux, ensure pwsh is installed and available on PATH.


📂 Structure

scripts/
  powershell/
    MoveResumes.ps1
    MoveBySearch.ps1
README.md
  • scripts/powershell/MoveResumes.ps1 — consolidate resume-like documents into a central folder.
  • scripts/powershell/MoveBySearch.ps1 — flexible search-and-move with dry run, caching, and regex.

🚀 Script Summaries

MoveResumes.ps1

  • Scans OneDrive (or any root) for resume-like files (resume, résumé, cv, curriculum vitae).
  • Supports doc-style extensions (doc, docx, pdf, rtf, odt, txt).
  • Excludes folders like @Backup, @Music, and any Pictures directory.
  • Duplicate-safe with _001, _002 suffixes.
  • -DryRun to preview before executing.

Examples

# Preview which files would be moved
npx scriptarium powershell MoveResumes -- -DryRun

# Execute the move
npx scriptarium powershell MoveResumes --

MoveBySearch.ps1

  • Requires -Search and -Destination.
  • Optional: -UseRegex, -AllowedExt, -DryRun (caches planned moves), -FromCache.
  • Supports _001, _002 duplicate-safe suffixing.

Examples

# Dry run a search for "resume" and cache results
npx scriptarium powershell MoveBySearch -- -Search resume -Destination "S:\OneDrive\resume" -DryRun

# Move exactly those cached files (no new scan)
npx scriptarium powershell MoveBySearch -- -FromCache

# Move cached files to a new destination
npx scriptarium powershell MoveBySearch -- -FromCache -Destination "S:\OneDrive\ResumesArchive"

# Regex search
npx scriptarium powershell MoveBySearch -- -Search "(resume|résumé|cv)" -UseRegex -Destination "S:\OneDrive\resume" -DryRun

🏃 Run Locally Without Installing

If you keep this repo at B:\Dev\scriptarium\ you can run the scripts directly:

# PowerShell 7 (recommended)
pwsh -NoProfile -ExecutionPolicy Bypass -File "B:\Dev\scriptarium\scripts\powershell\MoveBySearch.ps1" -Search resume -Destination "S:\OneDrive\resume" -DryRun

# Windows PowerShell (fallback)
powershell -NoProfile -ExecutionPolicy Bypass -File "B:\Dev\scriptarium\scripts\powershell\MoveBySearch.ps1" -Search resume -Destination "S:\OneDrive\resume" -DryRun

To list available scripts locally:

Get-ChildItem "B:\Dev\scriptarium\scripts\powershell" -Filter *.ps1 | Select-Object -ExpandProperty BaseName

🔧 Requirements

  • Node.js 18+ (for the npx scriptarium CLI)
  • PowerShell 7 (pwsh) or Windows PowerShell 5.1 (powershell)

📜 License

MIT License – free to use, modify, and distribute.