Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/hat

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/hat - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

3

hat/index.d.ts
// Type definitions for hat 0.0
// Project: https://github.com/substack/node-hat
// Definitions by: Sasha Grin <https://github.com/tup1tsa>
// Miro Yovchev <https://github.com/myovchev>
// Definitions by: Miro Yovchev <https://github.com/myovchev>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -6,0 +5,0 @@

{
"name": "@types/hat",
"version": "0.0.1",
"version": "0.0.2",
"description": "TypeScript definitions for hat",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hat",
"license": "MIT",
"contributors": [
{
"name": "Sasha Grin",
"url": "https://github.com/tup1tsa",
"githubUsername": "tup1tsa"
},
{
"name": "Miro Yovchev",

@@ -19,3 +15,3 @@ "url": "https://github.com/myovchev",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -28,4 +24,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "e32e56c6a309435bb5dca24493b57cfcd63745dfcb40df23de042833b5c88442",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "85c3ffec11cbbedbe730f6afb7db2fbfe30b83af2e748abcd791e5ef1ec0404e",
"typeScriptVersion": "4.3"
}

@@ -8,6 +8,38 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hat
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hat.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hat/index.d.ts)
````ts
// Type definitions for hat 0.0
// Project: https://github.com/substack/node-hat
// Definitions by: Miro Yovchev <https://github.com/myovchev>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Thu, 22 Aug 2019 15:37:04 GMT
interface HatsList {
[key: string]: any;
}
interface Rack {
bits: number;
base: number;
hats: HatsList;
(data?: any): string;
get(id: string): any;
set(id: string, value: any): Rack;
}
type CreateRack = (bits?: number, base?: number, expandBy?: number) => Rack;
interface Hat {
(bits?: number, base?: number): string;
rack: CreateRack;
}
declare const hat: Hat;
export = hat;
````
### Additional Details
* Last updated: Tue, 01 Aug 2023 17:32:50 GMT
* Dependencies: none

@@ -17,2 +49,2 @@ * Global values: none

# Credits
These definitions were written by Sasha Grin <https://github.com/tup1tsa>, and Miro Yovchev <https://github.com/myovchev>.
These definitions were written by [Miro Yovchev](https://github.com/myovchev).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc