npm
npmjs.com › package › prettier
prettier - npm
January 21, 2026 - Prettier is an opinionated code formatter. Latest version: 3.8.1, last published: a month ago. Start using prettier in your project by running `npm i prettier`. There are 20147 other projects in the npm registry using prettier.
» npm install prettier
Published Jan 21, 2026
Version 3.8.1
Author James Long
Repository https://github.com/prettier/prettier
Homepage https://prettier.io
Prettier
prettier.io › docs › install
Install · Prettier
For example, you can do the following to have Prettier run before each commit: ... npm install --save-dev husky lint-staged npx husky init node --eval "fs.writeFileSync('.husky/pre-commit','npx lint-staged\n')"
Videos
08:28
How to install prettier and enforce it in your projects - YouTube
12:11
How To Setup Prettier - YouTube
14:25
How to Use Prettier with VS Code! (2026 Full Tutorial) - YouTube
13:37
How to Setup Prettier in VSCode and Format your Project - YouTube
09:15
3. How to Set Up ESLint 9 with Prettier in Node.js (Flat Config ...
Prettier
prettier.io
Prettier · Opinionated Code Formatter · Prettier
More than 19.4k dependent packages on npmSee them all
npm
npmjs.com › package › prettier-plugin-java
prettier-plugin-java - npm
January 8, 2026 - Prettier Java Plugin. Latest version: 2.8.1, last published: 2 months ago. Start using prettier-plugin-java in your project by running `npm i prettier-plugin-java`. There are 56 other projects in the npm registry using prettier-plugin-java.
» npm install prettier-plugin-java
Visual Studio Marketplace
marketplace.visualstudio.com › items
Prettier - Code formatter - Visual Studio Marketplace
January 21, 2026 - Extension for Visual Studio Code - Code formatter using prettier
npm
npmjs.com › package › prettier-eslint
prettier-eslint - npm
May 7, 2025 - Formats your JavaScript using prettier followed by eslint --fix. Latest version: 16.4.2, last published: 10 months ago. Start using prettier-eslint in your project by running `npm i prettier-eslint`. There are 338 other projects in the npm registry using prettier-eslint.
» npm install prettier-eslint
Published May 07, 2025
Version 16.4.2
Author Kent C. Dodds
Repository https://github.com/prettier/prettier-eslint
GitHub
btholt.github.io › complete-intro-to-react-v5 › eslint-prettier
npm, ESLint & Prettier
Either install Prettier globally npm install --global prettier or replace when I run prettier with (from the root of your project) npx prettier. From there, run prettier script.js. This will output the formatted version of your file. If you want to actually write the file, run prettier --write ...
npm
npmjs.com › search
eslint-plugin-prettier - npm search
``` "eslint": "^8.9", "eslint-config-prettier": "^8.3", "eslint-formatter-codeframe": "^7.32", "eslint-plugin-babel": "^5.3", "eslint-plugin-import": "^2.25", "eslint-plugin-jsx-a11y": "^6.5", "eslint-plugin-prettier": "^4.0", "eslint-plugin-react": "^7.2
GitHub
github.com › prettier › prettier
GitHub - prettier/prettier: Prettier is an opinionated code formatter. · GitHub
Prettier can be run in your editor on-save, in a pre-commit hook, or in CI environments to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!
Author prettier
npm
npmjs.com › package › eslint-plugin-prettier
eslint-plugin-prettier - npm
January 14, 2026 - Runs prettier as an eslint rule. Latest version: 5.5.5, last published: 2 months ago. Start using eslint-plugin-prettier in your project by running `npm i eslint-plugin-prettier`. There are 8704 other projects in the npm registry using eslint-plugin-prettier.
» npm install eslint-plugin-prettier
Published Jan 14, 2026
Version 5.5.5
Author Teddy Katz
Stepsecurity
stepsecurity.io › blog › supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
Supply Chain Security Alert: eslint-config-prettier Package Shows Signs of Compromise - StepSecurity
We are currently investigating a potential supply chain security incident involving the eslint-config-prettier npm package. This widely-used package, which helps developers maintain consistent code formatting by turning off ESLint rules that conflict with Prettier, appears to have had multiple versions published with suspicious modifications.
npm
npmjs.com › package › eslint-config-prettier
eslint-config-prettier - npm
July 18, 2025 - Turns off all rules that are unnecessary or might conflict with Prettier.. Latest version: 10.1.8, last published: 8 months ago. Start using eslint-config-prettier in your project by running `npm i eslint-config-prettier`. There are 12180 other projects in the npm registry using eslint-con...
» npm install eslint-config-prettier
Published Jul 18, 2025
Version 10.1.8
Author Simon Lydell
Hacker News
news.ycombinator.com › item
eslint-config-prettier npm package compromised | Hacker News
July 28, 2025 - Good reminder to use a password manager as well (as it would also catch the 'npnjs' typo squatted domain too) · Similar incident happened to the HIBP guy who mentioned ignoring the password manager safeguards due to being half asleep while on the plane
npm
npmjs.com › package › prettier-plugin-package
prettier-plugin-package - npm
July 31, 2025 - Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing, taking various rules into account. This plugin adds support for package.json files used within NPM modules.
» npm install prettier-plugin-package
Published Jul 31, 2025
Version 2.0.0
Author shellscape