New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@james-cli/generate

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@james-cli/generate

实现了 AI 版的 generate 命令。

latest
npmnpm
Version
1.1.0
Version published
Maintainers
0
Created
Source

AI-code-generate

实现了 AI 版的 generate 命令。

输入生成组件的目录、组件描述,就会调用 AI 来生成代码,然后写入组件目录。

我们通过在 system 里设置组件规范来保证返回的代码是符合规范的。

并且通过 system 设置规定了返回内容的格式,然后用 remark 通过 AST 解析出文件名和文件内容、写入磁盘。

这样,我们就可以通过 AI 生成符合规范的代码了。

FAQs

Package last updated on 22 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts