randombytes/ 000755 001751 000177 0000000000 14522377323 015110 5 ustar 00runner 000000 000000 14522377323 14522377323 randombytes/LICENSE 000644 001751 000177 0000002165 14522377323 016121 0 ustar 00runner 000000 000000 14522377323 14522377323 MIT License
Copyright (c) Microsoft Corporation.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
randombytes/README.md 000644 001751 000177 0000001475 14522377323 016374 0 ustar 00runner 000000 000000 14522437513 14522377323 # Installation
> `npm install --save @types/randombytes`
# Summary
This package contains type definitions for randombytes (https://github.com/crypto-browserify/randombytes).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randombytes.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randombytes/index.d.ts)
````ts
///
import { randomBytes as _randomBytes } from "crypto";
export = randomBytes;
declare const randomBytes: typeof _randomBytes;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).
randombytes/index.d.ts 000644 001751 000177 0000000236 14522377323 017012 0 ustar 00runner 000000 000000 14522377323 14522377323 ///
import { randomBytes as _randomBytes } from "crypto";
export = randomBytes;
declare const randomBytes: typeof _randomBytes;
randombytes/package.json 000644 001751 000177 0000001515 14522377323 017376 0 ustar 00runner 000000 000000 14522437513 14522377323 {
"name": "@types/randombytes",
"version": "2.0.3",
"description": "TypeScript definitions for randombytes",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randombytes",
"license": "MIT",
"contributors": [
{
"name": "BendingBender",
"githubUsername": "BendingBender",
"url": "https://github.com/BendingBender"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/randombytes"
},
"scripts": {},
"dependencies": {
"@types/node": "*"
},
"typesPublisherContentHash": "33d5a82f9d5e25c49d01d542997169a0850a1bafd21dd70aa15d61be43e92dae",
"typeScriptVersion": "4.5"
}