Comparing version 0.2.4 to 0.2.5
@@ -1,8 +0,15 @@ | ||
export as namespace rgb2hex; | ||
declare namespace rgb2hex { | ||
interface HexColor { | ||
hex: string, | ||
alpha: number | ||
} | ||
} | ||
export interface HexColor { | ||
hex: string, | ||
alpha: number | ||
declare const rgb2hex: { | ||
(rgb: string): { | ||
hex: string, | ||
alpha: number | ||
} | ||
} | ||
export function rgb2hex(rgb: string): HexColor; | ||
export = rgb2hex |
{ | ||
"name": "rgb2hex", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "lightweight rgb/rgba to hex parser", | ||
@@ -5,0 +5,0 @@ "author": "Christian Bromann <mail@christian-bromann.com>", |
@@ -77,2 +77,2 @@ rgb2hex ![Test Changes](https://github.com/christian-bromann/rgb2hex/workflows/Test%20Changes/badge.svg) [![Known Vulnerabilities](https://snyk.io/test/github/christian-bromann/rgb2hex/badge.svg?targetFile=package.json)](https://snyk.io/test/github/christian-bromann/rgb2hex?targetFile=package.json) | ||
* 2020-11-24 v0.2.1 TypeScript support | ||
* 2020-11-25 v0.2.4 Improved TypeScript support | ||
* 2020-11-25 v0.2.5 Improved TypeScript support |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16244
274