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

@rcmade/ray

v1.1.10

Published

A library to save your tokens

Downloads

12

Readme

@rcmade/ray

Purpose

@rcmade/ray is designed to empower developers with a secure and convenient way to manage their credentials directly from the terminal. It addresses key challenges:

  • Security: Safely encrypts and stores various credentials, such as API keys and GitHub tokens, ensuring they are protected yet easily retrievable.
  • Accessibility: Provides instant access to stored credentials from any terminal, enhancing workflow efficiency without compromising on security.
  • Convenience: Eliminates the hassle of managing multiple credentials by centralizing them in a single, easy-to-use terminal application.

Why Use @rcmade/ray?

  • Secure Storage: Encrypt and save your crucial development credentials with confidence.
  • Global Access: Fetch your credentials securely from anywhere, anytime, directly through your terminal.
  • Streamlined Workflow: Improve your productivity by having all your necessary credentials at your fingertips, ready to be used when you need them the most.

Installation

To install @rcmade/ray globally on your system, allowing you to use it from any terminal, execute the following command:

npm install -g @rcmade/ray

Troubleshooting Autocompletion

If you find that autocompletion is not working immediately after the setup, try the following steps:

  1. Restart your terminal: Close and reopen your terminal window to refresh the session and apply the changes.

  2. Restart your computer: If restarting the terminal does not resolve the issue, a full restart of your computer can help ensure that all paths and configurations are correctly reloaded.

These steps typically resolve any issues with command autocompletion not functioning after installation.

Further Troubleshooting Autocompletion

In some cases, autocompletion might not activate even after restarting your terminal or computer. If you encounter this issue, follow these steps:

  1. Manually run the setup command: Execute the ray setup command in your terminal. This command manually runs the setup file to configure autocompletion.

    ray setup
  2. Restart your terminal: Close and reopen your terminal window to ensure that the new autocompletion settings are applied.

  3. Restart your computer: If the autocompletion feature is still not working, try restarting your computer. This ensures that all shell instances are refreshed with the updated configurations.

By following these steps, you should be able to resolve most issues with autocompletion not working as expected. If problems persist, please consult the ray documentation or reach out for support.

Available Commands

@rcmade/ray provides a suite of commands designed to manage your credentials securely and efficiently directly from the terminal. Below is a list of available commands along with their descriptions:

add <tokenName> <tokenValue>

  • Description: Adds a new token with the specified name and value. This command securely stores the token for later use.

  • Usage:

    ray add github myGithubToken

ray <tokenName>

  • Description: Retrieves and displays the value of the specified token. Use this command to quickly access the value of a securely stored token by its name.

  • Usage:

    ray github

list

  • Description: Lists all stored tokens, displaying their names. This command helps you quickly see what tokens you have stored.

  • Usage:

    ray list

remove <tokenName>

  • Description: Removes a token by its name. This command is useful for deleting tokens that are no longer needed.

  • Usage:

    ray remove github

setup

  • Description: Runs setup tasks, including initializing autocompletion for the ray commands. This is a one-time setup command that prepares your environment for optimal use of ray.

  • Usage:

    ray setup

list-commands

  • Description: Lists all available commands in the ray CLI tool. This command provides a quick reference to all the functionalities provided by ray.

  • Usage:

    ray list-commands