npm.io
1.0.3 • Published 2 years ago

@types/png-chunk-text

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

Installation

npm install --save @types/png-chunk-text

Summary

This package contains type definitions for png-chunk-text (https://github.com/hughsk/png-chunk-text).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/png-chunk-text.

index.d.ts

export function decode(data: Uint8Array): { keyword: string; text: string };

export function encode(keyword: string, text: string): { name: "tEXt"; data: Uint8Array };

Additional Details

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

Credits

These definitions were written by Nikita.