
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
ide-header-bar
Advanced tools
ide-header-bar
npm 包方式:
npm install --save ide-header-bar
web 方式:
<script src="https://unpkg.com/ide-header-bar@0.1.3/dist/index.umd.js"></script>
引入之后将会暴露全局变量 ideHeaderBar.
如果你想要在 webpack 中 external 该库,可以使用以下配置:
{
externals: {
"ide-header-bar": {
"commonjs": "ide-header-bar",
"commonjs2": "ide-header-bar",
"amd": "ide-header-bar",
"root": "ideHeaderBar"
}
}
}
首先从 git 仓库拉取代码,安装依赖项:
git clone https://github.com/one-gourd/ide-header-bar.git
npm install
## 安装 peerDependencies 依赖包
npm install ide-lib-utils@0.x ide-lib-base-component@0.x ide-lib-engine@0.x ette@0.x ette-proxy@0.x ette-router@0.x antd@3.x mobx@4.x mobx-react@5.x mobx-react-lite@1.x mobx-state-tree@3.10.x react@16.x styled-components@4.x.x react-dom@16.x
运行以下命令后,访问 demo 地址: http://localhost:9000
npm run dev
也可访问 storybook 参考具体的使用案例:http://localhost:9001/
npm run storybook
使用 jest 进行测试,执行:
npm test
普通的 npm 发布即可,记得发布前需要手动打包:
npm run build && npm publish
FAQs
ide header bar
We found that ide-header-bar 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.