@types/color-string
- Version 1.5.5
- Published
- 5.02 kB
- No dependencies
- MIT license
Install
npm i @types/color-string
yarn add @types/color-string
pnpm add @types/color-string
Overview
TypeScript definitions for color-string
Index
Functions
function get
get: typeof get;
Interfaces
interface ColorDescriptor
interface ColorDescriptor {}
Type Aliases
type Color
type Color = [number, number, number, number];
Namespaces
namespace get
namespace get {}
function hsl
hsl: <TColorStr extends string>( colorString: TColorStr) => TColorStr extends string ? Color : null;
function hwb
hwb: <TColorStr extends string>( colorString: TColorStr) => TColorStr extends string ? Color : null;
function rgb
rgb: <TColorStr extends string>( colorString: TColorStr) => TColorStr extends string ? Color : null;
namespace to
namespace to {}
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/color-string
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/color-string)
- HTML<a href="https://www.jsdocs.io/package/@types/color-string"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3485 ms. - Missing or incorrect documentation? Open an issue for this package.