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

@f47/pakio

v1.1.0

Published

Save, manage, and reuse npm package templates across projects

Downloads

27

Readme

pakio

Save, manage, and reuse npm package templates across projects.

Instead of remembering which packages you install on every new project, pakio lets you define named templates and apply them in one command.

Install

# npm
npm install -g @f47/pakio

# yarn
yarn global add @f47/pakio

# pnpm
pnpm add -g @f47/pakio

Usage

Run without arguments for the interactive menu:

pakio

Or use commands directly:

pakio create <name>
pakio add <name> <packages...>
pakio remove-pkg <name> <packages...>
pakio apply <name> [--dev] [--deps]
pakio diff <name>
pakio list
pakio rename <old-name> <new-name>
pakio remove <name>
pakio export [names...] --output <file>
pakio import-file <file>

Interactive menu

◆  pakio — npm package template manager
│
◆  What do you want to do?
│  ❯ Create a new template
│    Add packages to a template
│    Edit a template
│    Apply a template to this project
│    View templates
│    Import / Export
│    Remove a template
│    Exit
└

Commands

Create a template

pakio create react-base

Add packages

# dependencies
pakio add react-base axios zustand

# devDependencies
pakio add react-base -D eslint prettier typescript

To remove packages or manage them more finely, use the interactive menu.

Rename a template

pakio rename react-base react-core

Remove packages from a template

pakio remove-pkg react-base axios zustand

In interactive mode, packages are searched live from npm — results include name, version, and description.

Apply a template

Run inside a project that already has a package.json:

pakio apply react-base

Installs all dependencies and devDependencies from the template using your project's detected package manager (npm, yarn, or pnpm).

Flags:

  • --dev: Only install devDependencies.
  • --deps: Only install dependencies.

Example:

pakio apply react-base --dev

Compare template with project (Diff)

See what's missing or different before applying:

pakio diff react-base

Output:

◆  Diff for template "react-base"
│
●  Missing dependencies:
│  + [email protected]
│
●  Different versions:
│  ~ typescript (current: 5.5.0, template: 5.7.3)
│
└  Run `pakio apply <name>` to sync.

Import from a project

Save the current project's dependencies into a template:

pakio import react-base

List templates

pakio list

Export and import

Share templates between machines or teammates:

# export
pakio export react-base --output react-base.json
pakio export                          # exports all → pakio-export.json

# import
pakio import-file ./react-base.json

Remove a template

pakio remove react-base

Storage

Templates are stored locally in ~/.pakio/templates.json.

{
  "react-base": {
    "dependencies": ["[email protected]", "[email protected]"],
    "devDependencies": ["[email protected]", "[email protected]", "[email protected]"]
  }
}

Packages are stored with their exact version at the time of adding, so installs are reproducible across machines.

Requirements

Node.js 18 or higher.

License

MIT