UNPKG

@types/uri-template-lite

Version:
33 lines (24 loc) 977 B
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uri-template-lite/index.d.ts) ````ts declare class Template { constructor(template: string); expand(data: { [key: string]: unknown }): string; match(uri: string): { [key: string]: string }; } declare function expand(template: string, data: { [key: string]: unknown }): string; declare namespace Template { export { expand }; } export = Template; ```` ### Additional Details * Last updated: Sun, 14 Dec 2025 19:02:04 GMT * Dependencies: none # Credits These definitions were written by [Vincenzo Chianese](https://github.com/XVincentX).