A fork of Prettier v0.22.0 (beta) that adds an option to indent lines with tabs instead of spaces. Prettier is an opinionated JavaScript formatter that parses JS into an AST and pretty-prints it, ignoring original formatting. This fork targets developers who need tab indentation before official support, but is no longer maintained (upstream Prettier now supports tabs via `useTabs`). Legacy release, only useful for historical reference or locked toolchains.
npm install prettier-with-tabsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Formats a JavaScript function with tabs for indentation using the fork's default tab style.
Migrate to official prettier package and use `useTabs: true`.
Use official prettier with `useTabs` option, or if you need this exact behavior, pin version.
Do not rely on consistent formatting across updates; pin to exact version.
Use `require('prettier-with-tabs')` or configure your transpiler to handle CJS.Run `npm install prettier-with-tabs` or check the name in package.json.
Use default import: `import prettier from 'prettier-with-tabs'` then `prettier.format(...)`.
Use exact version `0.22.0` or range `~0.22.0`.
No dependency data recorded yet.