create-hmac/ 000755 001751 000177 0000000000 14522265601 014713 5 ustar 00runner 000000 000000 14522265601 14522265601 create-hmac/LICENSE 000644 001751 000177 0000002165 14522265601 015724 0 ustar 00runner 000000 000000 14522265601 14522265601 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
create-hmac/README.md 000644 001751 000177 0000002047 14522265601 016201 0 ustar 00runner 000000 000000 14522307365 14522265601 # Installation
> `npm install --save @types/create-hmac`
# Summary
This package contains type definitions for create-hmac (https://github.com/crypto-browserify/createHmac).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/create-hmac.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/create-hmac/index.d.ts)
````ts
///
import { Hmac } from "crypto";
export = createHmac;
declare function createHmac(algo: createHmac.Algorithm, key: string | Buffer): Hmac;
declare namespace createHmac {
type Algorithm =
| "rmd160"
| "ripemd160"
| "md5"
| "sha"
| "sha1"
| "sha224"
| "sha256"
| "sha384"
| "sha512";
}
````
### Additional Details
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).
create-hmac/index.d.ts 000644 001751 000177 0000000611 14522265601 016612 0 ustar 00runner 000000 000000 14522265601 14522265601 ///
import { Hmac } from "crypto";
export = createHmac;
declare function createHmac(algo: createHmac.Algorithm, key: string | Buffer): Hmac;
declare namespace createHmac {
type Algorithm =
| "rmd160"
| "ripemd160"
| "md5"
| "sha"
| "sha1"
| "sha224"
| "sha256"
| "sha384"
| "sha512";
}
create-hmac/package.json 000644 001751 000177 0000001515 14522265601 017207 0 ustar 00runner 000000 000000 14522307365 14522265601 {
"name": "@types/create-hmac",
"version": "1.1.3",
"description": "TypeScript definitions for create-hmac",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/create-hmac",
"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/create-hmac"
},
"scripts": {},
"dependencies": {
"@types/node": "*"
},
"typesPublisherContentHash": "16f403c8ed45d4e88e1f2533d578393d894cfa70b787279c9fe6b2c68f8f7c8b",
"typeScriptVersion": "4.5"
}