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

@pecometer/peco-cli

v2.0.0

Published

Pecometer Command Line Interface Application with monorepo support

Readme

PecoCLI

A command line app that is primarily used to setup a Node.js project with PecoTS (backend) and Angular (frontend) as the main frameworks. PecoTS is a closed source framework, and this tool has very little use outside of working with the framework.

Create A New App

Use this command to quickly prepare an application directory with a backend, frontend, or both basic applications. The process will ask for various details depending on the options selected.

peco-cli create-app

Generate DOTENV

Generate a .env file for your PecoTS application using the generate-env command. The file will be created in the current directory.

peco-cli generate-env

Check Update

Checks if an update to the CLI package is available.

peco-cli check-update

Version

Outputs the current package version to the console.

peco-cli version

Executing your CLI

You may execute your CLI application built in PecoTS by calling this utility from the root folder of your application followed by the commands you have created or those provided by the framework.

peco-cli my-app-command.a-function-to-execute
peco-cli migration.make users
peco-cli rbac.make
peco-cli migration.up
peco-cli migration.down

Monorepo Configuration

For monorepo structures where your backend project is not located in the standard ./backend directory, you can configure the backend path using the PECOTS_BACKEND_PATH environment variable.

Environment Variable

Set the PECOTS_BACKEND_PATH environment variable to specify the path to your backend project:

# For relative paths (resolved from current working directory)
export PECOTS_BACKEND_PATH=packages/api/backend

# For absolute paths
export PECOTS_BACKEND_PATH=/full/path/to/backend

Using .env Files

Alternatively, create a .env file in your project root:

# .env file in project root
PECOTS_BACKEND_PATH=packages/api/backend

Common Monorepo Examples

Lerna/Nx Style:

PECOTS_BACKEND_PATH=packages/api

Apps/Packages Structure:

PECOTS_BACKEND_PATH=apps/server

Nested Backend:

PECOTS_BACKEND_PATH=services/backend/api

Workspace Structure:

PECOTS_BACKEND_PATH=workspaces/backend

Discovery Order

The CLI searches for your backend project in the following order:

  1. Environment Variable Path - If PECOTS_BACKEND_PATH is set (from environment or .env file)
  2. Current Directory - Looks for index.ts or index.js in the current directory
  3. Backend Subdirectory - Looks for index.ts or index.js in ./backend/

The CLI will automatically change to the backend directory during execution and return to the original directory when complete.

Copyright

Copyright Pecometer Software Limited