19.12.3 • Published 2 years ago

@types/uri-template-lite v19.12.3

Weekly downloads
1,047
License
MIT
Repository
github
Last release
2 years ago

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

// Type definitions for uri-template-lite 19.12
// Project: https://github.com/litejs/uri-template-lite#readme
// Definitions by: Vincenzo Chianese <https://github.com/XVincentX>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.0

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: Thu, 08 Jul 2021 22:42:18 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Vincenzo Chianese.

19.12.2

2 years ago

19.12.3

2 years ago

19.12.1

4 years ago

19.12.0

5 years ago