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 🙏

© 2024 – Pkg Stats / Ryan Hefner

browserslist-config-anolilab

v5.0.14

Published

Shareable browserlist config for Anolilab projects.

Downloads

2,664

Readme

npm-image license-image

It helps you maintain consistency across different projects and ensures that your projects support the same set of browsers.



Purpose

Our package aims to simplify and streamline the configuration process for your projects, ensuring efficiency and minimizing errors. By implementing the following strategies, we achieve this goal:

  • Centralized Browser Targeting: Say goodbye to the hassle of defining target browsers for each individual project. Our package eliminates this need, providing a single, consistent configuration.

  • Widely Used Target Browsers: We offer a carefully curated selection of popular target browsers. You can rely on our pre-defined set to cover a wide range of user preferences.

  • Effortless Updates: Keeping up with evolving browser requirements is effortless with our package. You can easily update the target browsers across all your projects whenever necessary, saving valuable time and effort.

In summary, our Browserslist Config ensures a superior user experience across various browsers, making it a vital tool for maintaining high-quality standards. Your users will enjoy a seamless browsing experience, regardless of their chosen platform.

Installation

Install the package using your preferred package manager:

npm install browserslist-config-anolilab --save-dev
pnpm add -D browserslist-config-anolilab
yarn add -D browserslist-config-anolilab

Optionally, you can install browserslist to use the browserslist CLI.

Adding the following script to your root package.json file makes it easier to run the browserslist command in your mono-repository:

pnpm pkg set scripts.lint:browsers="browserslist"

For npm users, replace pnpm with npm in the above command.

This script allows you to run the browserslist command by simply typing pnpm run lint:browsers (or npm run lint:browsers for npm users) in the terminal.

Usage

Package.json

{
    "browserslist": ["extends browserslist-config-anolilab"]
}

Alternatively, add this to .browserslistrc file:

extends browserslist-config-anolilab

Or when using babel-preset-env

module.exports = {
    presets: [
        [
            'env',
            {
                targets: {
                    // eslint-disable-next-line global-require
                    browsers: require('browserslist-config-anolilab'),
                },
            },
        ],
    ],
}

What is Browserslist?

Browserslist is a library to share a browsers list between different front end tools, like Autoprefixer, Eslint, and Stylelint.

Supported Browsers

{
    "production": [
        "> 1%",
        "last 2 versions",
        "Firefox ESR"
    ],
    "legacyBrowsers": [
        "> 1%",
        "last 2 versions",
        "Firefox ESR"
    ],
    "modernBrowsers": [
        "last 2 Chrome versions",
        "not Chrome < 60",
        "last 2 Safari versions",
        "not Safari < 10.1",
        "last 2 iOS versions",
        "not iOS < 10.3",
        "last 2 Firefox versions",
        "not Firefox < 54",
        "last 2 Edge versions",
        "not Edge < 15"
    ],
    "ssr": [
        "node 12"
    ]
}

Supported Node.js Versions

Libraries in this ecosystem make the best effort to track Node.js’ release schedule. Here’s a post on why we think this is important.

Contributing

If you would like to help take a look at the list of issues and check our Contributing guild.

Note: please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Credits

License

The anolilab javascript-style-guide is open-sourced software licensed under the MIT license