@darkgl/slow-json-stringify
Version:
The fastest JSON stringifier
9 lines (8 loc) • 403 B
TypeScript
import type { AttrExecutable, AttrType, Serializer, SjsSerializer } from './types.js';
declare const _find: (path: string[]) => any;
declare const attr: {
(type: 'array', serializer?: SjsSerializer): AttrExecutable;
(type: Exclude<AttrType, 'array'>, serializer?: Serializer): AttrExecutable;
};
declare const escape: (regex?: RegExp) => (str: string) => string;
export { _find, escape, attr };