
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
node-validators
Advanced tools
npm install --save node-validators
This package contains type definitions for validator (https://www.npmjs.com/package/node-validators).
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;
FAQs
TypeScript definitions for validators
The npm package node-validators receives a total of 0 weekly downloads. As such, node-validators popularity was classified as not popular.
We found that node-validators demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.