UNPKG

danger

Version:
7 lines (6 loc) 224 B
/// <reference types="node" /> /** * Verifies that the given encoding is a valid BufferEncoding. * @throws in case the encoding is unsupported. */ export declare function encodingParser(encoding: string): BufferEncoding;