1.1.3 • Published 6 months ago
@types/hex-color-regex v1.1.3
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.