mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* Add types/uuencode * Update maintainer github information * Update encode/decode parameter to also accept Buffer. Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> * Add node to tsconfig types * Remove node from types in tsconfig * Add triple slash reference types comment for node types * add test for decode with buffer. * Remove test reference to node type Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
6 lines
266 B
TypeScript
6 lines
266 B
TypeScript
import * as uuencode from 'uuencode';
|
|
const encoded: string = uuencode.encode('$#%');
|
|
const decoded: string = uuencode.decode('$#%');
|
|
const encodedBuffer: string = uuencode.encode(new Buffer('$#%'));
|
|
const decodedBuffer: string = uuencode.decode(new Buffer('$#%'));
|