@types/hex-color-regex
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

Installation

npm install --save @types/hex-color-regex

Summary

This package contains type definitions for hex-color-regex (https://github.com/regexps/hex-color-regex#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hex-color-regex.

index.d.ts

/**
 * The best regular expression (regex) for matching hex color values from string.
 * Pass `strict: true` for strict mode
 */
declare function hexColorRegex(opts?: hexColorRegex.Options): RegExp;

declare namespace hexColorRegex {
    interface Options {
        strict?: boolean | undefined;
    }
}

export = hexColorRegex;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Piotr Błażejewicz.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/hex-color-regex

Weekly Downloads

5,263

Version

1.1.3

License

MIT

Unpacked Size

3.29 kB

Total Files

5

Last publish

Collaborators

  • types