
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@exoskeleton/cli
Advanced tools
@exoskeleton/core 脚手架和 cli 工具
配合@exoskeleton/core使用效果更佳
本地安装
npm install @exoskeleton/cli --save-dev
yarn add @exoskeleton/cli -D
全局安装
npm install @exoskeleton/cli --global
yarn global add @exoskeleton/cli
@exoskeleton/cli 开放了一个配置文件,用来简化 cli 参数的使用,类似 webpack,可以使用--config 参数修改配置文件的名字,默认为exoskeleton.config.js。
exoskeleton.config.js - 一个简单的配置文件
const path = require("path");
module.exports = {
tsconfig: "tsconfig.json",
inspect: true,
typeCheck: true,
transpile: true,
debug: "*",
mock: "http://127.0.0.1:8001",
// exoskeleton router 的命令配置
// 编译生成routers,不再需要手动书写routers文件
routers: {
enabled: true,
always: false,
approot: "/v1",
filetype: "ts",
details: true
},
// exoskeleton-cli监控的文件修改列表,自动重启node服务
watch: [
path.join(__dirname, "app/**/*.*"),
path.join(__dirname, "config/**/*.*"),
path.join(__dirname, "plugins/**/*.*")
],
// 忽略的文件列表
ignore: [],
// exoskeleton config 的命令配置
// 编译ts配置文件,支持DI能力 @1.1.0 引入
configCompiler: {
enabled: true,
force: true,
configroot: "app/config",
outputroot: "config
}
};
# cmd:exo 或者 exoskeleton
# 本地安装@exoskeleton/cli
npx exo dev --inspect --tsconfig app/tsconfig.json
# 全局装过@exoskeleton/cli
exo dev --inspect --tsconfig app/tsconfig.json
FAQs
@exoskeleton/core 脚手架和 cli 工具
The npm package @exoskeleton/cli receives a total of 13 weekly downloads. As such, @exoskeleton/cli popularity was classified as not popular.
We found that @exoskeleton/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.