# Installation
> `npm install --save @types/hapi__b64`

# Summary
This package contains type definitions for @hapi/b64 (https://github.com/hapijs/b64#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi__b64.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi__b64/index.d.ts)
````ts
/// <reference types='node' />

import stream = require("stream");

export class Decoder extends stream.Transform {}
export class Encoder extends stream.Transform {}

export function decode(buffer: Buffer): Buffer;
export function encode(buffer: Buffer): Buffer;

export function base64urlEncode(value: string | Buffer, encoding?: BufferEncoding): string;

export function base64urlDecode(value: string, encoding?: BufferEncoding): string;
export function base64urlDecode(value: string, encoding: "buffer"): Buffer;

````

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Florian Keller](https://github.com/ffflorian).
