Socket
Socket
Sign inDemoInstall

@jiaminghi/color

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

1.1.3

Diff

jiaming743
published 1.1.2 •

Changelog

Source

1.1.2 (2023-01-02)

Perfect

  • chore: Remove default export.
jiaming743
published 1.1.2-test.1672645645383 •

jiaming743
published 1.1.2-test.1672645186545 •

jiaming743
published 1.1.1 •

Changelog

Source

1.1.1 (2020-05-14)

Bug Fixes

  • types: Absolute path cause import error.
jiaming743
published 1.0.0 •

Changelog

Source

1.0.0 (2020-04-11)

Upgrade

  • typescript: Rewrite with typescript.

New API

  • isHex: Test is a Hex color.
  • isRgb: Test is a Rgb color.
  • isRgba: Test is a Rgba color.
  • isRgbOrRgba: Test is a Rgb or Rgba color.
jiaming743
published 0.1.1 •

Changelog

Source

0.1.1-alpha (2019-08-29)

Perfect

  • babel: Upgrade babel compilation mode.
jiaming743
published 0.1.0 •

Changelog

Source

0.1.0-alpha (2019-07-07)

Perfect

  • keywords: Support color keywords like red, blue, transparent and etc.
jiaming743
published 0.0.6 •

Changelog

Source

0.0.6-alpha (2019-06-13)

Bug Fixes

  • getOpacity: Fix the exception caused by the decimal in the rgba color (Like 'rgba(123.3333, 111, 111, 0.323)').
jiaming743
published 0.0.5 •

Changelog

Source

0.0.5-alpha (2019-06-06)

Perfect

  • ES5: Use babel to transcode to ES5.
2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc