
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@types/jxon
Advanced tools
TypeScript definitions for jxon
npm install --save @types/jxon
This package contains type definitions for jxon (https://www.npmjs.com/package/jxon).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jxon.
export type FunctionType = (arg: unknown) => void;
export type VerbosityType = 0 | 1 | 2 | 3;
export interface ConfigOptions {
attrKey?: string | undefined;
attrPrefix?: string | undefined;
autoDate?: boolean | undefined;
ignorePrefixedNodes?: boolean | undefined;
lowerCaseTags?: boolean | undefined;
parseValues?: boolean | undefined;
trueIsEmpty?: boolean | undefined;
valueKey?: string | undefined;
}
export function config(cfg: ConfigOptions): void;
export function stringToJs(str: string): object;
export function jsToString(
objTree: object,
namespaceURI?: string,
qualifiedName?: string,
documentType?: object,
): string;
export function stringify(
objTree: object,
namespaceURI?: string,
qualifiedName?: string,
documentType?: object,
): string;
export function xmlToJs(
xmlDocument: any,
verbosity?: VerbosityType,
freeze?: boolean,
nestedAttributes?: boolean,
): object;
export function build(xMLParent: any, verbosity?: VerbosityType, freeze?: boolean, nesteAttributes?: boolean): object;
export function jsToXml(objTree: object, namespaceURI?: string, qualifiedName?: string, documentType?: object): any;
export function unbuild(objTree: object, namespaceURI?: string, qualifiedName?: string, documentType?: object): any;
export function stringToXml(xmlStr: string): any;
export function xmlToString(xmlObj: any): string;
export function each(obj: any, func: FunctionType, thisArg: any): void;
These definitions were written by Max Boguslavskiy.
FAQs
TypeScript definitions for jxon
We found that @types/jxon 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.