Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imgix/browserslist-config
An imgix shareable config for Browserslist.
https://github.com/imgix/browserslist-config
browserslist browserslist-config imgix
Last synced: 6 days ago
JSON representation
An imgix shareable config for Browserslist.
- Host: GitHub
- URL: https://github.com/imgix/browserslist-config
- Owner: imgix
- License: bsd-2-clause
- Created: 2020-12-08T21:34:50.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-15T00:05:24.000Z (almost 4 years ago)
- Last Synced: 2024-12-07T20:53:03.508Z (26 days ago)
- Topics: browserslist, browserslist-config, imgix
- Language: JavaScript
- Homepage: https://www.imgix.com
- Size: 2.93 KB
- Stars: 0
- Watchers: 9
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![imgix logo](https://assets.imgix.net/sdk-imgix-logo.svg)
A [shareable config](https://github.com/browserslist/browserslist#shareable-configs) for Browserslist used by the [imgix SDK](https://docs.imgix.com/libraries).
[![NPM Version](https://img.shields.io/npm/v/@imgix/browserslist-config)](https://www.npmjs.com/package/@imgix/browserslist-config)
[![License](https://img.shields.io/github/license/imgix/browserslist-config)](https://github.com/imgix/browserslist-config/blob/main/LICENSE.md)---
## Installation
```
npm install browserslist @imgix/browserslist-config --save-dev
```## Usage
Add this to your `package.json` file:
```json
"browserslist": [
"extends @imgix/browserslist-config"
]
```Alternatively, add this to your `.browserslistrc` file:
```
extends @imgix/browserslist-config
```When imported, this package returns an array of supported browsers. For more configuration examples, see the [Browserslist examples](https://github.com/browserslist/browserslist-example#browserslist-example) repo.