https://github.com/benhigham/browserslist-config
My personal Browserslist configurations.
https://github.com/benhigham/browserslist-config
browsers browserslist browserslist-config browserslist-shareable-config caniuse compatibility cross-browser targets
Last synced: 3 months ago
JSON representation
My personal Browserslist configurations.
- Host: GitHub
- URL: https://github.com/benhigham/browserslist-config
- Owner: benhigham
- License: mit
- Created: 2025-04-13T14:07:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-24T08:36:48.000Z (7 months ago)
- Last Synced: 2025-12-26T16:49:53.740Z (6 months ago)
- Topics: browsers, browserslist, browserslist-config, browserslist-shareable-config, caniuse, compatibility, cross-browser, targets
- Language: JavaScript
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# @benhigham/browserslist-config
[](https://www.npmjs.com/package/@benhigham/browserslist-config)
[](https://www.npmjs.com/package/@benhigham/browserslist-config)
[](LICENSE.md)
My personal [Browserslist](https://github.com/browserslist/browserslist) configurations for modern web and Node.js projects.
## Installation
```bash
# npm
npm install --save-dev @benhigham/browserslist-config
# yarn
yarn add --dev @benhigham/browserslist-config
# pnpm
pnpm add --save-dev @benhigham/browserslist-config
```
## Usage
The default export targets modern browsers with ES6 module support, including recent versions of desktop and mobile browsers.
Create a `.browserslistrc` file in your project root:
```ini
extends @benhigham/browserslist-config
```
Or add to your `package.json`:
```json
{
"browserslist": ["extends @benhigham/browserslist-config"]
}
```
### Use with Node.js
For Node.js projects, use the specialized Node.js configuration:
```ini
extends @benhigham/browserslist-config/node
```
Or in your `package.json`:
```json
{
"browserslist": ["extends @benhigham/browserslist-config/node"]
}
```
## Configuration Details
### Default Configuration
Includes:
- Browsers that fully support ES6 modules
- Last 2 major versions of:
- Chrome
- Firefox
- Safari
- Edge
- Android
- ChromeAndroid
- FirefoxAndroid
- iOS
### Node.js Configuration
Includes:
- Maintained Node.js versions
## See Supported Browsers
To see the exact browsers supported by these configurations, run:
```bash
npx browserslist "extends @benhigham/browserslist-config"
# or for Node.js config
npx browserslist "extends @benhigham/browserslist-config/node"
```
## License
This project is licensed under the [MIT License](LICENSE.md).