UNPKG

@types/is-base64

Version:
30 lines (22 loc) 897 B
# Installation > `npm install --save @types/is-base64` # Summary This package contains type definitions for is-base64 (https://github.com/miguelmota/is-base64). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-base64. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-base64/index.d.ts) ````ts interface IsBase64Options { allowEmpty?: boolean | undefined; allowMime?: boolean | undefined; mimeRequired?: boolean | undefined; paddingRequired?: boolean | undefined; } declare function isBase64(string: string, options?: IsBase64Options): boolean; export = isBase64; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 03:09:37 GMT * Dependencies: none # Credits These definitions were written by [Chris Wilkinson](https://github.com/thewilkybarkid).