typescript-formatter
- Version 7.2.2
- Published
- 139 kB
- 2 dependencies
- MIT license
Install
npm i typescript-formatter
yarn add typescript-formatter
pnpm add typescript-formatter
Overview
Formatter of TypeScript code
Index
Namespaces
namespace editorconfig
module 'editorconfig' {}
function parse
parse: (filepath: string, options?: ParseOptions) => Promise<FileInfo>;
function parseFromFiles
parseFromFiles: ( filepath: string, files: any[], options?: ParseOptions) => Promise<FileInfo>;
interface FileInfo
interface FileInfo {}
property charset
charset?: string;
property end_of_line
end_of_line?: string;
property indent_size
indent_size?: number;
property indent_style
indent_style?: string;
property insert_final_newline
insert_final_newline?: boolean;
property root
root?: string;
property tab_width
tab_width?: number;
property trim_trailing_whitespace
trim_trailing_whitespace?: boolean;
interface ParseOptions
interface ParseOptions {}
Package Files (2)
Dependencies (2)
Dev Dependencies (12)
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/typescript-formatter
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/typescript-formatter)
- HTML<a href="https://www.jsdocs.io/package/typescript-formatter"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2786 ms. - Missing or incorrect documentation? Open an issue for this package.