# @types/hex-color-regex

> TypeScript definitions for hex-color-regex

Latest version **1.1.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/hex-color-regex
pnpm add @types/hex-color-regex
yarn add @types/hex-color-regex
bun add @types/hex-color-regex
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2023-11-07 |
| First published | 2020-07-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51439 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/hex-color-regex
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hex-color-regex
- npm.io page: https://npm.io/package/@types/hex-color-regex

## Recent versions

- 1.1.3 (latest) — 2023-11-07
- 1.1.1 (ts3.9) — 2021-07-06
- 1.1.0 (ts3.0) — 2020-07-31
- 1.1.2 — 2023-10-18

## 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hex-color-regex/index.d.ts)
````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](https://github.com/peterblazejewicz).

---
_Source: https://npm.io/package/@types/hex-color-regex · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
