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

zonix

v1.0.1

Published

<img alt="Zonix CLI banner" width="100%" src="https://i.ibb.co/hfgqmfw/zonix-cli.png" />

Downloads

16

Readme

About

Zonix is a command line interface integrated with the OpenAI artificial intelligence API designed to help you with your tasks quickly and easily. The CLI has a very nice authentication system where, through a command, the user can quickly login using their own API key. Its interface is very intuitive and with an organized color system to differentiate the messages of success, error and tips, in addition to having a minimum response time.

Install

Install the zonix globally with

npm install -g zonix

Authentication

The first command you must run in zonix is auth to authenticate using the OpenAI API key:

zonix auth --key API_KEY

Replace API_KEY with your generated key in: https://platform.openai.com/account/api-keys

Usage

You can use zonix in your preferred terminal, including in its terminal integrated in its code editor, which makes it easier to search for help during the development of your tasks.

Usage examples:

zonix generate-test --component ProductCard --path ./src/components/ProductCard/index.tsx
zonix translate --text 'zonix is the best CLI in the world' --language portuguese

Commands

| Command | Options | Required | Description | | ---------------------------- | -------------------------------------------------------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Performs a specific action | Options for customizing action execution | If the option is required | Short text describing the command | | auth | -k or --key | ✓ | Command used for authentication in the OpenAI API. | | generate-test | -c or --component -p or --path -l or --library | ✓ ✗ | Command used to create unit tests of your project's components. When passing the component's path, the test file is automatically generated in the component's folder. | | translate | -t or --text -l or --language | ✓ ✓ | Command used to translate a text quickly, regardless of the requested language. | | hello | -n or --name | ✗ | Command used to receive an AI greeting (used to check if zonix is working). |

Contribute

To contribute to the zonix project follow the steps mentioned below:

  1. Fork the zonix project.
  2. Clone the project (forked by you).
  3. Make necessary improvements, create new commands or fix a found bug.
  4. In case of creating a new command, you must add it to the command table of the README.md file, containing the name of the command, options, if the options are mandatory to execute the command or not, and a brief description of its functionality, following the standard.
  5. Log your change in the CHANGELOG.md file by following the keepachangelog documentation.
  6. Submit your Pull Request (PR) containing your changes.

Licensed

Zonix is MIT licensed.