npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@startdt/browserslist-config

v1.6.0

Published

Browserslist 可共享配置

Readme

@startdt/browserslist-config dependencies

open source npm version node version npm peer dependency version npm download npm license

如何使用

npm i browserslist @startdt/browserslist-config --save-dev

提示:在项目根目录运行 npx browserslist 命令可以查看完整的浏览器支持环境。

使用配置文件:

# .browserslistrc
extends @startdt/browserslist-config

或者项目属性:

// package.json
"browserslist": [
    "extends @startdt/browserslist-config"
]

目标浏览器

为了保证项目的可用性,覆盖更多的用户,同时获得更好的浏览体验,我们总是希望开发人员面向更多的浏览器平台和版本构建项目。由于 Vue.js 框架的特性,目标浏览器的范围最大不能超出兼容 ECMAScript 5 的浏览器

Vue 不支持 IE8 及以下版本,因为 Vue 使用了 IE8 无法模拟的 ECMAScript 5 特性。但它支持所有兼容 ECMAScript 5 的浏览器。

但这并不意味着你不能使用最新的 ES6 特性,因为 Vue CLI 项目会通过 @babel/preset-envbrowserslist 配置来决定项目需要的 polyfill(请参看:Vue CLI 浏览器兼容性)。

桌面浏览器

| ie/edgeIE / Edge | firefoxFirefox | chromeChrome | safariSafari | operaOpera | |-------------|-------|-------|------|-------| | ie11, >= 12 | >= 21 | >= 23 | >= 6 | >= 15 |

移动端浏览器

| ios_safiOS | androidAndroid | and-ffFirefox | and_chrChrome | op_mobOpera Mobile | op_miniOpera Mini | |------|--------|-------|-------|--------|-----------------| | >= 6 | >= 4.4 | >= 68 | >= 81 | >= 46 | not op_mini all |

| samsungSamsung | and_ucUC Browser | and_qqQQ Browser | baiduBaidu Browser | kaiosKaiOS Browser | |------|----------|---------|---------|--------| | >= 4 | >= 12.12 | >= 10.4 | >= 7.12 | >= 2.5 |

查询列表

  1. 查询全球使用率 > 0.5% 的浏览器版本;
  2. 查询中国地区使用率 > 0% 的浏览器版本;
  3. 筛选完全支持 ECMAScript 5 特性的浏览器版本;
  4. 过滤官方声明不再维护或事实上已经两年没有再更新的浏览器版本;