@types/uri-template-lite
TypeScript icon, indicating that this package has built-in type declarations

19.12.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/uri-template-lite

Weekly Downloads

262

Version

19.12.3

License

MIT

Unpacked Size

3.22 kB

Total Files

5

Last publish

Collaborators

  • types