You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

node-validators

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

node-validators

TypeScript definitions for validators

1.1.4
unpublished
latest
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created

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.

index.d.ts

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

FAQs

Package last updated on 30 Dec 2024

Did you know?

Socket

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.

Install

Related posts