@types/hex-color-regex
@types/hex-color-regex
npm i @types/hex-color-regex
@types/hex-color-regex

@types/hex-color-regex

The repository for high quality TypeScript type definitions.

by DefinitelyTyped

1.1.1 (see all)License:MITTypeScript:Built-In
npm i @types/hex-color-regex
Readme

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

// Type definitions for hex-color-regex 1.1
// Project: https://github.com/regexps/hex-color-regex#readme
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * 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, 06 Jul 2021 21:33:33 GMT
  • Dependencies: none
  • Global values: none

Credits

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

Downloads/wk

10.2K

GitHub Stars

41K

LAST COMMIT

7mos ago

MAINTAINERS

1

CONTRIBUTORS

17,572

OPEN ISSUES

637

OPEN PRs

221
VersionTagPublished
1.1.1
latest
1yr ago
1.1.1
ts4.7
1yr ago
1.1.1
ts4.6
1yr ago
1.1.1
ts4.8
1yr ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate