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

1.4.2 • Public • Published

Installation

npm install --save @types/plantuml-encoder

Summary

This package contains type definitions for plantuml-encoder (https://github.com/markushedvall/plantuml-encoder).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/plantuml-encoder.

index.d.ts

/// <reference types="node" />

declare namespace PlantUmlEncoder {
    /**
     * Union type for possible typed arrays.
     */
    type TypedArray =
        | Int8Array
        | Uint8Array
        | Uint8ClampedArray
        | Int16Array
        | Uint16Array
        | Int32Array
        | Uint32Array
        | Float32Array
        | Float64Array
        | BigInt64Array
        | BigUint64Array;
}

/**
 * Wrapper object for the encode and decode functions.
 */
declare const PlantUmlEncoder: {
    /**
     * Encodes PlantUML code.
     * @param puml The PlantUML code that should be encoded.
     * @returns The encoded PlantUML code.
     */
    encode: (puml: string | Buffer | PlantUmlEncoder.TypedArray | DataView | ArrayBuffer) => string;

    /**
     * Decodes encoded PlantUML code.
     * @param encodedPuml The encoded PlantUML code that should be decoded.
     * @returns The decoded PlantUML code.
     */
    decode: (encodedPuml: string) => string;
};

export = PlantUmlEncoder;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Krisztián Balla.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/plantuml-encoder

Weekly Downloads

1,576

Version

1.4.2

License

MIT

Unpacked Size

4.7 kB

Total Files

5

Last publish

Collaborators

  • types