# @types/plantuml-encoder

> TypeScript definitions for plantuml-encoder

Latest version **1.4.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/plantuml-encoder
pnpm add @types/plantuml-encoder
yarn add @types/plantuml-encoder
bun add @types/plantuml-encoder
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.4.2 |
| Published | 2023-11-07 |
| First published | 2020-05-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51462 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/plantuml-encoder
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/plantuml-encoder
- npm.io page: https://npm.io/package/@types/plantuml-encoder

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 1.4.2 (latest) — 2023-11-07
- 1.4.0 (ts3.2) — 2020-05-28
- 1.4.1 — 2023-10-18

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/plantuml-encoder/index.d.ts)
````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](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Krisztián Balla](https://github.com/krisztianb).

---
_Source: https://npm.io/package/@types/plantuml-encoder · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
