npm.io
0.1.3 • Published 2 years ago

@types/pkcs7-padding

Licence
MIT
Version
0.1.3
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.3K

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 0939 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Svet Nikolov.