Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@types/vkbeautify
Advanced tools
TypeScript definitions for vkbeautify
npm install --save @types/vkbeautify
This package contains type definitions for vkbeautify (https://github.com/aabluedragon/vkbeautify).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vkbeautify.
// Original project: https://github.com/vkiryukhin/vkBeautify
// beautifying
/**
* Pretty print an xml string with the given number of whitespace, or with a given indentation pattern
*/
export function xml(text: string, amountOfWhitespaces?: number | string): string;
/**
* Pretty print a json string with the given number of whitespace, or with a given indentation pattern
*/
export function json(text: string, amountOfWhitespaces?: number | string): string;
/**
* Pretty print a css string with the given number of whitespace, or with a given indentation pattern
*/
export function css(text: string, amountOfWhitespaces?: number | string): string;
/**
* Pretty print an sql string with the given number of whitespace, or with a given indentation pattern
*/
export function sql(text: string, amountOfWhitespaces?: number | string): string;
// minifying
/**
* Minifiy an xml string, and preserve or remove comments (default)
*/
export function xmlmin(text: string, preserveComments?: boolean): string;
/**
* Minifiy a json string
*/
export function jsonmin(text: string): string;
/**
* Minifiy a css string, and preserve or remove comments (default)
*/
export function cssmin(text: string, preserveComments?: boolean): string;
/**
* Minifiy an sql string
*/
export function sqlmin(text: string): string;
These definitions were written by Tim Schraepen.
FAQs
TypeScript definitions for vkbeautify
The npm package @types/vkbeautify receives a total of 4,021 weekly downloads. As such, @types/vkbeautify popularity was classified as popular.
We found that @types/vkbeautify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.