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

@appleute/eslint-config

v3.0.4

Published

Shared ESLint configs for [appleute](https://github.com/appleute) projects.

Readme

Appleute ESLint Config

Shared ESLint configs for appleute projects.

| Stack | Config | | --------- | ------------------------------------------ | | (Default) | @appleute/eslint-config | | Node | @appleute/eslint-config/node | | React | @appleute/eslint-config/react | | Next.js | @appleute/eslint-config/next (Coming Soon) | | Expo | @appleute/eslint-config/expo (Coming Soon) |

TODO

  • Config for next.js, waiting for support to be added. See https://github.com/vercel/next.js/issues/64453
  • Config for expo, waiting for support to be added. See https://github.com/expo/expo/blob/main/packages/eslint-config-expo/package.json
  • Sort imports using eslint sort-imports or eslint-plugin-import

Usage

Configuration

New project

Install this package and peer dependencies

yarn add -D eslint prettier @appleute/eslint-config

Existing project

Install this package and update peer dependencies

yarn add -D eslint@latest prettier@latest @appleute/eslint-config

This package already inclues eslint plugins and configs, so you can remove them if you have any installed.

Configure ESLint

Create a eslint.config.js in your project root and import the desired config.

const nodeConfig = require("@appleute/eslint-config/node");

/** @type import("eslint").Linter.Config[] */
module.exports = [...nodeConfig];

Configure Prettier

Create a .prettierrc.js in your project root and import the prettier config.

.prettierrc.js

const prettierRc = require("@appleute/eslint-config/.prettierrc.js");

/** @type import("prettier").Config */
module.exports = {
  ...prettierRc,
};

.prettierignore

You can copy the .prettierignore file as is from the package.

cp node_modules/@appleute/eslint-config/.prettierignore .

Commit hooks

Setup a pre-commit hook using husky and lint-staged to automatically lint and prettify before commit.

1. Install husky and lint staged

yarn add -D husky lint-staged
# Add pinst ONLY if your package is not private
yarn add -D pinst

2. Configure package.json

{
  ...
  "scripts": {
    // Yarn doesn't support prepare script
    "postinstall": "husky",
    // Include this if publishing to npmjs.com
    "prepack": "pinst --disable",
    "postpack": "pinst --enable"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "**/*": "prettier --write --ignore-unknown",
    "**/*.{js,ts,jsx,tsx}": "eslint --fix"
  },
}

3. Add pre-commit hook

yarn husky
echo "npx lint-staged" > .husky/pre-commit

VSCode Config

Configure your vscode to allow formatting on save, and use the typescript verison configured by the project instead of the vscode version.

Create .vscode/settings.json at the root of your repository.

{
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "always"
  },
  "typescript.tsdk": "node_modules/typescript/lib"
}

TSConfig

Ensure strict is turned on:

{
  "compilerOptions": {
    "strict": true,
    "strictPropertyInitialization": false
  }
}

Develop

Publish

Use npm version to increment major, minor or patch version

Then publish using:

npm publish