Installation
npm install --save @types/pkcs7-padding
Summary
This package contains type definitions for pkcs7-padding (https://github.com/neeh/pkcs7-padding#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pkcs7-padding.
index.d.ts
/// <reference types="node" />
export function pad(data: Buffer, size?: number): Buffer;
export function pad(data: string, size?: number): string;
export function unpad(data: Buffer): Buffer;
export function unpad(data: string): string;Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/node
Credits
These definitions were written by Svet Nikolov.