Installation
npm install --save @types/uri-template-lite
Summary
This package contains type definitions for uri-template-lite (https://github.com/litejs/uri-template-lite#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uri-template-lite.
index.d.ts
export namespace URI {
function expand(template: string, data: { [key: string]: unknown }): string;
class Template {
constructor(template: string);
expand: (data: { [key: string]: unknown }) => string;
match: (template: string) => { [key: string]: string };
}
}
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Vincenzo Chianese.