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

@preemstudio/zai

v1.1.1

Published

AI-Assisted Development Workflows in a pragmatic CLI • Powered by OpenAI

Downloads

5

Readme

zai

Badge Mascot

Installation

npm install @preemstudio/zai -g

Usage

Initialize the configuration file
zai config init --github-token={token} --openapi-token={token}
Set a configuration key to a value
zai config set --key={key} --value={value}
Get a configuration value by key
zai config get --key={key}
Delete a configuration value by key
zai config unset --key={key}
Summarize unstaged or staged changes in a git repository
zai git commit --style={style} --only-staged={onlyStaged}
Summarize a GitHub pull request
zai git summarize pr --repo={org}/{repo} {--number=} {--state=open} {--style=changelog}
List all open PR's for selection
zai git summarize pr --repo=laravel/framework
List all closed PR's for selection
zai git summarize pr --repo=laravel/framework --state=closed
Summarize a specific PR by its number
zai git summarize pr --repo=laravel/framework --number=45943
Summarize a specific PR by its number responding in a "commit" style
zai git summarize pr --repo=laravel/framework --number=45943 --style=commit
Summarize a GitHub commit or range of commits
zai git summarize commit --repo={org}/{repo} {--sha=} {--base=} {--head=} {--style=changelog}
List recent commits to summarize
zai git summarize commit --repo=laravel/framework
List recent commits in a specific branch to summarize
zai git summarize commit --repo=laravel/framework --branch=10.x
Summarize a specific commit
zai git summarize commit --repo=laravel/framework {--sha=}
Summarize a specific commit responding in a "commit" style
zai git summarize commit --repo=laravel/framework {--sha=} --style=commit
Summarize a range of commits from the tagged version to master
zai git summarize commit --repo=laravel/framework --base=v10.0.1
Summarize a range of commits from the tagged version to another tagged version
zai git summarize commit --repo=laravel/framework --base=v10.0.1 --head=v10.0.2
Summarize a range of commits
zai git summarize commit --repo=laravel/framework --base={sha} --head={sha}
Summarize a range of commits (from the given commit to master
zai git summarize commit --repo=laravel/framework --base={sha}
Generate a test for a given file, type, language, framework, and syntax
zai test generate --file={path/to/file} --type={type} --language={language} --framework={framework} --syntax={syntax}
Generate a regular expression for a given subject and language
zai regex generate --subject={subject} --language={language}
Generate a cron expression for a given subject
zai cron generate --subject={subject}

Testing

pnpm run test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see the License File for more information.