Skip to main content
Module

x/ndeno/mod.ts

Command line tool created by deno to manage node projects | deno 实现的 node 项目包管理命令工具
Go to Latest
File
import { install } from "./src/pm.ts"import { detectPackageManager } from "./src/pm.ts"
if (import.meta.main) { const { args } = Deno
const pm = await detectPackageManager()
if (args.length === 0) { await install(pm) Deno.exit(0) }
const { action } = await import("./src/cli.ts")
await action(pm)}