npm.io
1.1.3 • Published 2 years ago

@types/radix64

Licence
MIT
Version
1.1.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/radix64

Summary

This package contains type definitions for radix64 (https://github.com/maxired/radix64).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/radix64.

index.d.ts

type MethodsString = "base64" | "base64URL" | "base64URLNaturalSort" | "base64URLASCIISort";

interface MethodsEnum {
    BASE64: MethodsString;
    BASE64URL: MethodsString;
    BASE64NATURAL: MethodsString;
    BASE64ASCII: MethodsString;
    DEFAULT: MethodsString;
}

interface Radix {
    radix64: (number: number, method?: MethodsString) => string;
    ascii64: (number: number, pad?: number) => string;
    methods: MethodsEnum;
}

declare const radix: Radix;
export = radix;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Jeow Li Huan.