šŸš€ Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@react-spring/shared

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-spring/shared

Globals and shared modules

Source
npmnpm
Version
9.0.0-canary.809.3.a66b280
Version published
Weekly downloads
4.8M
-13.1%
Maintainers
1
Weekly downloads
Ā 
Created
Source

@react-spring/shared

This package contains modules which are not imported by the main module.

  • @react-spring/shared/colorMatchers Regular expressions for color strings

  • @react-spring/shared/colors The dictionary of named colors and their numeric values

  • @react-spring/shared/normalizeColor Converts named colors, hexadecimal colors, rgba strings, and hsla strings into their numeric values

  • @react-spring/shared/stringInterpolation Exports the createStringInterpolator function (with color support)

Main module

Import @react-spring/shared to access these named imports:

  • Globals object (updated with its assign method)
  • createInterpolator function
  • is functions (for runtime type checks)
  • Utility hooks (like useForceUpdate)
  • Every type in src/types

FAQs

Package last updated on 30 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts