$ cnpm install @types/is-base64
npm install --save @types/is-base64
This package contains type definitions for is-base64 (https://github.com/miguelmota/is-base64).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-base64.
// Type definitions for is-base64 1.1
// Project: https://github.com/miguelmota/is-base64
// Definitions by: Chris Wilkinson <https://github.com/thewilkybarkid>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface IsBase64Options {
allowEmpty?: boolean | undefined;
allowMime?: boolean | undefined;
mimeRequired?: boolean | undefined;
paddingRequired?: boolean | undefined;
}
declare function isBase64(string: string, options?: IsBase64Options): boolean;
export = isBase64;
These definitions were written by Chris Wilkinson.
Copyright 2013 - present © cnpmjs.org | Home |