UNPKG

nehonix-uri-processor

Version:

A powerful URI processor for encoding, decoding, and analyzing URI data securely.

18 lines 726 B
import { RWA_TYPES } from "../types"; export declare class NehonixSafetyLayer { /** * Encodes user input based on the context in which it will be used * Selects the appropriate encoding method for security and compatibility * * @param input The user input to secure * @param context The context where the input will be used * @param options Optional configuration for specific encoding behaviors * @returns The appropriately encoded string */ static __safeEncode__(input: string, context: RWA_TYPES, options?: { doubleEncode?: boolean; encodeSpaces?: boolean; preserveNewlines?: boolean; }): string; } //# sourceMappingURL=NehonixSafetyLayer.d.ts.map