@ebay/skin

中文文档
19.39.0发布于 2026/10/31MITESM + CJS零依赖构建来源已验证近 30 天下载 1.1万

Skin - CSS modules that represent the brand eBay

原始使用文档
文档目录11 节
  1. License
  2. Install
  3. Versioning
  4. Releases
  5. Roadmap
  6. Browser Support
  7. Accessibility (A11Y)
  8. Issues
  9. Custom Bundler
  10. Developing & Contributing
  11. People

This project is using Percy.io for visual regression testing.

Skin

Pure CSS framework designed & developed by eBay for a branded, e-commerce marketplace.

Please visit the Skin website for all end-user documentation.

License

Skin is MIT licensed.

Install

Skin is available as the @ebay/skin package on NPM.

Versioning

Skin follows Semantic Versioning:

  1. MAJOR version when we make incompatible API changes,
  2. MINOR version when we add functionality in a backwards-compatible manner
  3. PATCH version when we make backwards-compatible bug fixes.

More detailed insight into our versioning process can be found in our contributing guide.

Releases

Please refer to our releases page to view the change log for current and past releases.

Please refer to our web archive for past examples and documentation.

Roadmap

Please refer to our projects page to see what's coming down the pipeline.

Browser Support

Please view our @ebay/browserslist-config to see which browsers we currently support.

SPOILER: we do not support IE10 or under.

Accessibility (A11Y)

We take accessibility very seriously. Very seriously indeed. Therefore all modules are built in accordance to the eBay MIND Patterns. These patterns, in turn, build on from the specifications provided by the WAI-ARIA Authoring Practices.

Issues

Please use our issues page to ask questions, report issues or submit feature requests.

To help track your issue, the Skin admins will assign it with a label from one or more issue categories.

Custom Bundler

Skin provides a command to create your own bundles for uploading to cdn. Use bin/generate-bundle.js in order to create separate bundles.

bin/generate-bundle.js list -> List available modules (used for the --modules argument)

bin/generate-bundle.js bundle ebay -> Create a bundle under the ebay folder

bin/generate-bundle.js bundle ebay --modules button carousel -> Create a bundle under the ebay folder with only button and carousel modules

bin/generate-bundle.js bundle ebay --scope-class ebay --scope-specificity 5 -> Create a bundle under the ebay folder with all CSS styles wrapped under .ebay.ebay.ebay.ebay.ebay {}

Developing & Contributing

Interested in contributing? Head over to our contributing guide for information on how to get started.

Contributions don't have to be code! They can be ideas, inspiration, discussion or filing bugs!

People

The original creator of Skin is Senthil Padmanabhan.

The current author and lead maintainer is Ian McBurnie.

List of all contributors.

版本与发布记录

@ebay/skin 共发布 429 个版本,首次发布于 2017/07/19;过去 12 个月发布了 38 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
19.39.0latest2026/10/3113 天前
19.38.02026/10/1727 天前
19.37.12026/10/091 个月前
19.37.02026/10/021 个月前
19.36.02026/09/191 个月前
19.35.02026/09/161 个月前

其他发布通道:canary → 7.1.0-0.canary.1712263d,hotfix → 10.7.2,patch → 12.6.12,beta → 17.1.0-0,next → 18.5.0-next.0。

关于 @ebay/skin 的常见问题

@ebay/skin 是什么?

Skin - CSS modules that represent the brand eBay

如何安装 @ebay/skin?

在项目目录运行 npm install @ebay/skin,或使用 pnpm add / yarn add / bun add。

@ebay/skin 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/ebay__skin 是否存在。

@ebay/skin 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@ebay/skin 可以商用吗?

@ebay/skin 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@ebay/skin 的下载量有多少?

根据 npm 官方下载统计,@ebay/skin 在 2026/10/13 – 2026/11/11 这 30 天内被下载 10,825 次,日均约 361 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@ebay/skin 还在维护吗?

最新版本 19.39.0 发布于 2026/10/31(13 天前);至今共发布 429 个版本,其中过去 12 个月发布了 38 个;首次发布于 2017/07/19。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。