@types/beautify
Version:
TypeScript definitions for beautify
27 lines (19 loc) • 765 B
Markdown
# Installation
> `npm install --save @types/beautify`
# Summary
This package contains type definitions for beautify (https://github.com/gko/beautify#readme).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/beautify.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/beautify/index.d.ts)
````ts
export = beautify;
declare function beautify(content: string, options: Options): string;
interface Options {
format: "css" | "json" | "js" | "html" | "xml";
}
````
### Additional Details
* Last updated: Mon, 06 Nov 2023 22:41:04 GMT
* Dependencies: none
# Credits
These definitions were written by [Zhang Nan](https://github.com/anyone-developer).