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 🙏

© 2025 – Pkg Stats / Ryan Hefner

eslint-config-tulip

v3.1.0

Published

🌷 Sharable Eslint configuration.

Downloads

8

Readme

ESLint Config Tulip

Sharable ESLint configuration. This configuration is made for Node.js apps.

Instructions:

  1. Install the package.
  2. Extend it in your eslint configuration.
  3. Enjoy cleaner code!. 🎉
  4. Contribute!

Installation

Make sure you are using Node.js v16.13.1 or higher. Open command prompt (or terminal) in your project folder and use:

npm i -D eslint eslint-config-tulip

This will install the configuration module and you can now use it in your project.

If you are using TypeScript, then you also need to install the plugin and parser for TypeScript:

npm i -D @typescript-eslint/eslint-plugin @typescript-eslint/parser

Usage

Once you have installed the configuration module, you need to tell eslint to use it. You can do this by extending it in your config. ESLint can be configured either in your package.json file or in a separate eslint config file. For more instructions on configuring eslint, please refer to ESLint getting started guide ↗.

For package.json:

{
    "name": "your-project",
    ...
    "eslintConfig": {
        "extends": "tulip"
    }
}

For eslint configuration files (.eslintrc, .eslintrc.json, .eslintrc.js, or .eslintrc.yml):

{
	"extends": "tulip"
}

You can also integrate eslint into your code editor. Follow the instructions in the editors section↗ to set it up for your editor.

If you are using TypeScript, then you need to extend the typescript configuration.

{
    ...
	"root": true,
	"parser": "@typescript-eslint/parser",
	"plugins": ["@typescript-eslint"],
    "extends": "tulip/typescript"
    ...
}

If you wish to use prettier along with eslint, then you need to use the prettier module. This will turn off certain eslint rules that interfere with prettier.

{
	"extends": "tulip/prettier"
}

Using Typescript? Don't worry, I've got you covered!

{
	"extends": "tulip/prettier-ts"
}

Customizing

This ESLint configuration comes with the latest rules enabled according to my style guide. But, you may want to tweak it depending upon your preferences. Here's an example:

{
	"extends": "tulip",
	"rules": {
		"sort-keys": "off"
	}
}

The sort-keys rule requires you to sort your keys alphabetically. This is helpful when you have too many keys in the object, but you may want to turn this rule off if you are following some other order.

For more information, refer to the Official ESLint Documentation↗ or a more detailed one here↗.
Here's the list of all Available ESLint rules↗.

Contribute

  1. Fork this repository.
  2. Make your changes.
  3. Push your changes to a new branch in your fork.
  4. Submit a pull request!

Credits

License - MIT.

© Riday ♡.

Thank you to all those who helped me. 💙