0.0.9 • Published 6 months ago

@types/domurl v0.0.9

Weekly downloads
1,339
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/domurl

Summary

This package contains type definitions for domurl (https://github.com/Mikhus/domurl).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/domurl.

index.d.ts

// Type definitions for domurl
// Project: https://github.com/Mikhus/domurl
// Definitions by: Mikhus <ttps://github.com/Mikhus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare namespace domurl {
    type QueryString<T> = T;
}

declare class Url<T> {
    constructor(url?: string);
    query: domurl.QueryString<T>;
    protocol: string;
    user: string;
    pass: string;
    host: string;
    port: string;
    path: string;
    hash: string;
    href: string;
    toString: () => string;
    encode: (s: string) => string;
    decode: (s: string) => string;
    isAbsolute: () => boolean;
    paths: (paths?: [string]) => [string];
    isEmptyQuery: () => boolean;
    queryLength: () => number;
    clearQuery: () => Url<{}>;
}

export = Url;

Additional Details

  • Last updated: Fri, 09 Jul 2021 02:32:25 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Mikhus.

0.0.9

6 months ago

0.0.8

7 months ago

0.0.7

3 years ago

0.0.6

4 years ago

0.0.5

5 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago