UNPKG

prompt-chainmail

Version:

Security middleware that shields AI applications from prompt injection, jailbreaking, and obfuscated attacks through composable defense layers.

5 lines 248 B
/** * Generic async chunk generator for handling multiple input types */ export declare function toChunks(source: string | ReadableStream | ArrayBuffer | Uint8Array, chunkSize?: number): AsyncGenerator<string>; //# sourceMappingURL=utils.d.ts.map