open-index/open-npm huggingface dataset:
npm package: @hsds/utils-clipboard
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# utils-clipboard

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `copyToClipboard`
- `selectText`

## Running unit tests

Run `nx test utils-clipboard` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-color
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.12

# utils-color

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `isHex`
- `lightThreshold`
- `optimalTextColorValues`
- `hexToRgb`
- `hexToHsl`
- `optimalTextColor`
- `rgbToHsl`
- `lightenDarkenColor`
- `lighten`
- `darken`
- `getColorShade`
- `rgba`
- `getColor`
- `getThemeBrandProp`
- `defaultBrandColor`
- `makeBrandColors`
- `palette`
- `text`: default, extraMuted, faint, muted, slightlyMuted, subtle,
- `border`
- `state`: danger, error, info, success, warning
- `osx`
- `link`
- `default`
  - `palette`
  - `border`
  - `link`
  - `osx`
  - `state`
  - `text`

## Running unit tests

Run `nx test utils-color` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-constants
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# constants

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `STATES`
- `STATUSES`
- `TEXT_SHADES`

## Running unit tests

Run `nx test constants` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-dom
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# utils-dom

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `isNodeElement`
- `getNodeScope`
- `getClosestDocument`
- `getClosestNode`
- `nodesHaveSameParent`

## Running unit tests

Run `nx test utils-dom` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-env
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# utils-env

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `isNodeEnv`

## Running unit tests

Run `nx test utils-env` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-faders
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# utils-faders

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `offsetX`
- `offsetY`
- `getFadeTopStyles`
- `getFadeBottomStyles`
- `getFadeLeftStyles`
- `getFadeRightStyles`

## Running unit tests

Run `nx test utils-faders` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-focus
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# utils-focus

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `FOCUSABLE_SELECTOR`
- `findFocusableNodes`
- `findFirstFocusableNode`
- `findLastFocusableNode`
- `findCurrentFocusedNodeIndex`
- `findNextFocusableNode`
- `findPreviousFocusableNode`
- `focusNextFocusableNode`
- `focusPreviousFocusableNode`
- `getClosestFocusableParent`
- `manageTrappedFocus`

## Running unit tests

Run `nx test utils-focus` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-fonts
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# utils-fonts

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `setFontSize`
- `makeFontFamilyFactory`
- `makeFontFamily`
- `variableFontSize`
- `FONT_FAMILY`
- `FONT_FAMILY_MONO`
- `AKTIV_FONT_FAMILY`
- `FONT_SIZE`
- `GLOBAL_FONT_SIZE_NAMESPACE`
- `BASE_FONT_SIZE`
- `defaultProps`

## Running unit tests

Run `nx test utils-fonts` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-id
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# utils-id

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `createUniqueIDFactory`
- `createUniqueIndexFactory`

## Running unit tests

Run `nx test utils-id` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-keyboard
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# utils-keyboard

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `isModifierKeyPressed`
- `Keys`
- `key`

## Running unit tests

Run `nx test utils-keyboard` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-mixins
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.3.0

# mixins

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

### breakpoints

- `breakpoints`: lg, md, sm, xs
- `generateBreakPoint`
- `breakpointAll`

### depth

- `d100`
- `d200`
- `d200Effect`
- `d300`
- `d300Effect`
- `d400`
- `d400Effect`
- `d500`
- `d500Effect`
- `d600`
- `d600Effect`
- `d700`
- `depthLevels`

### focusRing

- `focusShadow`
- `focusShadowWithInset`
- `focusRing`

### linkStyles

- `generateLinkStyles`

### stateStyles

- `generateStateColorStyles`

### noteStyles

- `noteBoxShadow`
- `noteBoxShadowHover`
- `noteBoxShadowWithHover`

### visuallyHidden

- `generateVisuallyHiddenStyles`

## Running unit tests

Run `nx test mixins` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-number
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# utils-number

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `isEven`
- `isOdd`
- `getMiddleIndex`
- `formatNumber`

## Running unit tests

Run `nx test utils-number` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-react
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# react

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `ATTRIBUTE_REGEX`
- `ATTRIBUTE_NAME_START_CHAR`
- `ATTRIBUTE_NAME_CHAR`
- `isCustomAttribute`
- `OTHER_ATTRIBUTE_REGEX`
- `isPropValid`
- `getValidProps`
- `getComponentName`
- `getComponentKey`
- `isReact15`
- `isReact16`
- `isReact15Up`
- `isReactComponent`
- `getShallowDiffs`
- `getDocumentFromComponent`
- `wrapComponentName`
- `isComponentOneOfType`
- `isNativeSpanType`
- `hoistNonReactStatics`: just a copy of the package `hoist-non-react-statics` which hasn't been updated in years and has old react dependencies

## Running unit tests

Run `nx test react` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-sass
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# utils-sass

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `forEach`

## Running unit tests

Run `nx test utils-sass` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-scroll
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# utils-scroll

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `linear`
- `easeInOutCubic`
- `scrollIntoView`
- `smoothScrollTo`

## Running unit tests

Run `nx test utils-scroll` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-shadow
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.1.11

# utils-shadow

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `defaultShadow`
- `getShadow`
- `makeShadows`
- `shadows`: 100, 150, 200, 250, 300, 400, 800, 900

## Running unit tests

Run `nx test utils-shadow` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/utils-strings
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# utils-strings

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

Includes:

- `normalizeUrl`
- `newlineToHTML`
- `escapeHtmlRegExp`
- `escapeHTML`
- `alphaNumericAndMarksChars`
- `tldPattern`
- `domainPattern`
- `pathPattern`
- `urlPattern`
- `emailPattern`
- `convertLinksToHTML`
- `camelCase`
- `STRING_DASHERIZE_REGEXP`
- `STRING_DECAMELIZE_REGEXP`
- `decamelize`
- `dasherize`

## Running unit tests

Run `nx test utils-strings` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/verification-code
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.3.2

# verification-code

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

## Running unit tests

Run `nx test verification-code` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/visually-hidden
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.14

# visually-hidden

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

## Running unit tests

Run `nx test visually-hidden` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @hsds/with-router-check
Description: This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).
Latest version: 9.0.2

# with-router-check

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

## Running unit tests

Run `nx test with-router-check` to execute the unit tests via [Jest](https://jestjs.io).