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

catgpt-copilot

v1.0.0

Published

ChatGPT编程辅助插件,让喵喵教你写代码吧!

Downloads

3

Readme

:cat:CatGPT CatGPT Copilot - VSCode 编程辅助插件

CatGPT Copilot 是一款基于 ChatGPT 的 VSCode 编程辅助插件,支持聊天问答、代码自动补全、函数提示、悬浮释义等多种编程辅助服务,让喵喵教你写代码吧!

功能

  • ChatGPT,支持普通请求和流式请求两种服务模式
  • 聊天问答,聊天框形式问答服务,支持代码格式化和复制/插入
  • 代码补全,AI补全代码编写需求,自动识别当前语言类型
  • 悬浮释义,划词划句解释代码含义
  • 菜单服务,提供其他编码辅助功能

安装

  1. 在 VSCode 插件市场中搜索 CatGPT Copilot
  2. 在 release 中下载最新的插件文件(catgpt.vsix),在 VSCode 插件右上角点击【从 VSIX 安装】,选择插件文件完成安装

使用

聊天问答

  1. 点击侧边栏【猫爪】图标,唤起聊天窗,输出提问内容并点击发送,稍等片刻即可收到回答;
  2. 点击聊天框右上角【垃圾桶】按钮可一键清空聊天记录;流式输出过程中可点击右上角【停止】按钮停止输出;
  3. 代码内容以高亮代码块形式输出,支持复制剪切板和插入编辑器;

代码补全

  1. 在编辑器注释中输入编码需求,例如://正则表达式匹配手机号码;
  2. 输入需求后,按【空格键】激活匹配,选择【代码生成】并确认,稍等片刻即可自动补全代码;
  3. 代码补全过程中可随时点击右下角【取消】按钮取消输出;

函数提示

  1. 所有函数上方会新增【解释】和【优化】按钮,点击即可在对话框输出解释或优化结果,目前支持 JavaScript 普通函数和箭头函数;

菜单辅助

  1. 其他常用的辅助功能全部收录在右键菜单中,在编辑器选中目标代码片段,点击右键选择响应的 CatGPT 服务,即可生成AI辅助结果;

贡献

如果你有任何问题或者建议,欢迎提出 issue 或者 pr。

许可证

catgpt 使用 MIT 许可证。详见 LICENSE 文件。