deno.com
在当前页面

deno add

命令行用法

o add [选项] [packages]...

将依赖项添加到您的配置文件中。

deno add jsr:@std/path

您还可以添加 npm 包:

deno add npm:react

或者一次性添加多个依赖项:

deno add jsr:@std/path jsr:@std/assert npm:chalk

Options Jump to heading

--allow-scripts Jump to heading

允许为给定的包运行 npm 生命周期脚本 注意:只有在使用 node_modules 目录时才会执行脚本(--node-modules-dir).

--dev Jump to heading

Short flag: -D

作为开发依赖项添加.

你找到需要的内容了吗?

隐私政策