@types/js-beautify
- Version 1.14.3
- Published
- 6.46 kB
- No dependencies
- MIT license
Install
npm i @types/js-beautify
yarn add @types/js-beautify
pnpm add @types/js-beautify
Overview
TypeScript definitions for js-beautify
Index
Variables
Interfaces
Variables
variable js_beautify
var js_beautify: { (js_source_text: string, options?: js_beautify.JSBeautifyOptions): string; js: (js_source_text: string, options?: js_beautify.JSBeautifyOptions) => string; js_beautify: ( js_source_text: string, options?: js_beautify.JSBeautifyOptions ) => string; css: ( js_source_text: string, options?: js_beautify.CSSBeautifyOptions ) => string; css_beautify: ( js_source_text: string, options?: js_beautify.CSSBeautifyOptions ) => string; html: ( js_source_text: string, options?: js_beautify.HTMLBeautifyOptions ) => string; html_beautify: ( js_source_text: string, options?: js_beautify.HTMLBeautifyOptions ) => string;};
Interfaces
interface CoreBeautifyOptions
interface CoreBeautifyOptions {}
property disabled
disabled?: boolean | undefined;
property end_with_newline
end_with_newline?: boolean | undefined;
property eol
eol?: string | undefined;
property indent_char
indent_char?: string | undefined;
property indent_empty_lines
indent_empty_lines?: boolean | undefined;
property indent_level
indent_level?: number | undefined;
property indent_size
indent_size?: number | undefined;
property indent_with_tabs
indent_with_tabs?: boolean | undefined;
property max_preserve_newlines
max_preserve_newlines?: number | undefined;
property preserve_newlines
preserve_newlines?: boolean | undefined;
property templating
templating?: string[] | undefined;
property wrap_line_length
wrap_line_length?: number | undefined;
interface CSSBeautifyOptions
interface CSSBeautifyOptions extends CoreBeautifyOptions {}
property newline_between_rules
newline_between_rules?: boolean | undefined;
property selector_separator_newline
selector_separator_newline?: boolean | undefined;
property space_around_combinator
space_around_combinator?: boolean | undefined;
property space_around_selector_separator
space_around_selector_separator?: boolean | undefined;
interface HTMLBeautifyOptions
interface HTMLBeautifyOptions extends CoreBeautifyOptions {}
property content_unformatted
content_unformatted?: string[] | undefined;
property extra_liners
extra_liners?: string[] | undefined;
property indent_body_inner_html
indent_body_inner_html?: boolean | undefined;
property indent_handlebars
indent_handlebars?: boolean | undefined;
property indent_head_inner_html
indent_head_inner_html?: boolean | undefined;
property indent_inner_html
indent_inner_html?: boolean | undefined;
property indent_scripts
indent_scripts?: 'normal' | 'keep' | 'separate' | undefined;
property inline
inline?: string[] | undefined;
property inline_custom_elements
inline_custom_elements?: boolean | undefined;
property templating
templating?: string[] | undefined;
property unformatted
unformatted?: string[] | undefined;
property unformatted_content_delimiter
unformatted_content_delimiter?: string | undefined;
property void_elements
void_elements?: string[] | undefined;
property wrap_attributes
wrap_attributes?: | 'auto' | 'force' | 'force-aligned' | 'force-expand-multiline' | 'aligned-multiple' | 'preserve' | 'preserve-aligned' | undefined;
property wrap_attributes_indent_size
wrap_attributes_indent_size?: number | undefined;
interface JSBeautifyOptions
interface JSBeautifyOptions extends CoreBeautifyOptions {}
property brace_style
brace_style?: | 'collapse' | 'expand' | 'end-expand' | 'none' | 'preserve-inline' | undefined;
property break_chained_methods
break_chained_methods?: boolean | undefined;
property comma_first
comma_first?: boolean | undefined;
property e4x
e4x?: boolean | undefined;
property jslint_happy
jslint_happy?: boolean | undefined;
property keep_array_indentation
keep_array_indentation?: boolean | undefined;
property operator_position
operator_position?: | 'before-newline' | 'after-newline' | 'preserve-newline' | undefined;
property space_after_anon_function
space_after_anon_function?: boolean | undefined;
property space_after_named_function
space_after_named_function?: boolean | undefined;
property space_before_conditional
space_before_conditional?: boolean | undefined;
property space_in_empty_paren
space_in_empty_paren?: boolean | undefined;
property space_in_paren
space_in_paren?: boolean | undefined;
property test_output_raw
test_output_raw?: boolean | undefined;
property unescape_strings
unescape_strings?: boolean | undefined;
property unindent_chained_methods
unindent_chained_methods?: boolean | undefined;
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
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/@types/js-beautify
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/js-beautify)
- HTML<a href="https://www.jsdocs.io/package/@types/js-beautify"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3926 ms. - Missing or incorrect documentation? Open an issue for this package.