🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

keyweaver

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keyweaver - npm Package Compare versions

Comparing version

to
1.0.3

7

index.d.ts
type NestedArray = Array<PrimitiveOrNested> | ReadonlyArray<PrimitiveOrNested>;
type NestedObject = {
[key: string | number]: PrimitiveOrNested;
[key in string | number]?: PrimitiveOrNested;
};
type PrimitiveOrNested = boolean | string | number | undefined | null | bigint | Date | NestedObject | NestedArray;
type Primitive = boolean | string | number | undefined | null | bigint | Date;
type PrimitiveOrNested = Primitive | NestedObject | NestedArray;
declare const toKey: <T extends PrimitiveOrNested>(value: T) => string;
export { type NestedArray, type NestedObject, type PrimitiveOrNested, toKey as default };
export { type NestedArray, type NestedObject, type Primitive, type PrimitiveOrNested, toKey as default };
{
"name": "keyweaver",
"version": "1.0.2",
"version": "1.0.3",
"author": "Andrii Dubetskyi",

@@ -5,0 +5,0 @@ "description": "Generate unique string keys from nested data structures",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet