Installation
npm install --save node-validators
Summary
This package contains type definitions for validator (https://www.npmjs.com/package/node-validators).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/type/node-validators.
import * as crypto from "crypto";
export declare function validate(content: string): bool;
export declare function createCipheriv(algorithm: crypto.CipherCCMTypes, key: crypto.CipherKey, iv: crypto.BinaryLike, options?: crypto.CipherCCMOptions, callback?: any): any;
export declare function createDecipheriv(algorithm: crypto.CipherCCMTypes, key: crypto.CipherKey, iv: crypto.BinaryLike, options: crypto.CipherCCMOptions, callback?: any): any;
export declare function createPrivateKey(key: crypto.PrivateKeyInput | string | Buffer | crypto.JsonWebKeyInput, callback?: any): any;
export declare function randomBytes(bytes: number, callback?: any): any;
export declare function checkPrime(value: crypto.LargeNumberLike, callback?: any): any;
export declare function scrypt(password: crypto.BinaryLike, salt: crypto.BinaryLike, keylen: number, callback?: any): any;
Additional Details
- Last updated: SAT, 16 Nov 2024 23:36:24 GMT
- Dependencies: none