@types/radix64
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

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 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Jeow Li Huan.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/radix64

Weekly Downloads

1

Version

1.1.3

License

MIT

Unpacked Size

3.48 kB

Total Files

5

Last publish

Collaborators

  • types