DefinitelyTyped/types/url-safe-base64/index.d.ts
John Wright a51d27f792 Add url-safe-base64 npm module declarations (#25418)
* feat(types): add url-safe-base64 npm module declarations

* chore: fix name and URL
2018-05-01 09:10:15 -07:00

15 lines
497 B
TypeScript

// Type definitions for url-safe-base64 1.1
// Project: https://github.com/commenthol/url-safe-base64#readme
// Definitions by: John Wright <https://github.com/johngeorgewright>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function decode(safe: string): string;
export function encode(base64: string): string;
export function isBase64(string: string): string;
export function isUrlSafeBase64(string: string): string;
export function trim(string: string): string;