Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
背景:我正在尝试使用将 JSON 报告转换为可读 HTML 的包(snyk-to-html)。此 HTML 生成有多个模板可用于自定义输出。
问题:这些模板位于包本身的目录中,我正在使用“npx”运行包,因此不会生成“node_modules”。npx 有什么方法/配置可以帮助访问这些模板吗?我需要在cli参数中提到这个模板的路径。