npm.io
1.2.32 • Published 2 years ago

@types/is-url

Licence
MIT
Version
1.2.32
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/is-url

Summary

This package contains type definitions for is-url (https://github.com/segmentio/is-url).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-url.

index.d.ts

export = isUrl;

/**
 * @returns Whether `string` is a URL.
 */
declare function isUrl(string: string): boolean;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: none

Credits

These definitions were written by Ryota Murohoshi, and BendingBender.