🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@coverbase/radix

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

@coverbase/radix - npm Package Compare versions

Package was removed
Sorry, it seems this package was removed from the registry
Comparing version
0.0.2
to
0.0.3
+13
dist/index.d.ts
export type Match<T> = {
value: T;
parameters: Record<string, string>;
};
export declare class Radix<T> {
value?: T;
parameter?: string;
children: Record<string, Radix<T>>;
constructor(parameter?: string);
insert: (key: string, value: T) => void;
match: (key: string) => Match<T> | undefined;
}
export declare const combineRadix: <T>(firstNode: Radix<T>, secondNode: Radix<T>) => Radix<T>;
+1
-1
{
"name": "@coverbase/radix",
"version": "0.0.2",
"version": "0.0.3",
"type": "module",

@@ -5,0 +5,0 @@ "exports": {

export type Match<T> = {
value: T;
parameters: Record<string, string>;
};
export declare class Radix<T> {
value?: T;
parameter?: string;
children: Record<string, Radix<T>>;
constructor(parameter?: string);
insert: (key: string, value: T) => void;
match: (key: string) => Match<T> | undefined;
}
export declare const combineRadix: <T>(firstNode: Radix<T>, secondNode: Radix<T>) => Radix<T>;