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 🙏

© 2024 – Pkg Stats / Ryan Hefner

op-ez

v0.0.4

Published

`op` is a command-line interface (CLI) tool that helps you manage and navigate your frequently used paths and commands efficiently. With `op`, you can save paths, set up different workspaces for various devices, sync configurations across devices, and mor

Downloads

81

Readme

op

op is a command-line interface (CLI) tool that helps you manage and navigate your frequently used paths and commands efficiently. With op, you can save paths, set up different workspaces for various devices, sync configurations across devices, and more.

This readme is automatically generated by create-ink-app

Installation

To install op, use npm:

npm install --g op-ez

Usage

1. Show List of Saved Paths

To see a list of all saved paths, simply run:

op

2. Run Commands in the Current Directory

To see the list of commands that can be run in the current directory, use:

op .

3. Save a Path

To save a new path, use the save command followed by the path you want to save:

op save <path>

You'll be prompted to provide an alias for the path. The default alias is the current path (.).

4. Open Configuration File

To open and edit the configuration file in the default text editor, use:

op config

5. Sync Configuration

To sync across all devices, use:

op sync

6. Login

To log in to your account, use:

op login

7. Setup Workspaces

To set up or select a workspace for your current environment, use:

op setup

You can create or switch between workspaces, each containing different paths and commands.

Others

op --help
op -v

Configuration

op uses a JSON configuration file that looks like this:

{
    "localConfig": {
        "currentWorkspace": "Home Windows Laptop"
    },
    "config": {
        "username": "Rifat",
        "workspaces": {
            "Home Windows Laptop": "win32"
        },
        "commands": {
            "Home Windows Laptop": {
                "code": "code #",
                "explorer": "ii #",
                "ls": "ls"
            }
        },
        "savedPaths": {
            "Home Windows Laptop": {
                "Bomba": "home/Works/bomba",
                "Workbench": "home/Works/Common-Workbench",
                "EkhonTV": "home/Works/ekhontv-mono",
                "Leetcode": "home/Works/Leetcode",
                "LOCO": "home/Works/loco-mono",
            }
        }
    }
}

Features

  • Save and Manage Paths: Easily save any directory path and associate it with an alias for quick access.
  • Run Commands in Saved Paths: Execute predefined commands in any saved path or the current directory.
  • Configurable Workspaces: Set up different workspaces for different devices or environments.
  • Sync Configuration: Sync your configuration across multiple devices after logging in.
  • User Login: Secure your settings and sync across devices using a login feature.

License

Licensed under the Apache License, Version 2.0