JSPM

@times-components/utils

2.2.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16837
  • Score
    100M100P100Q125075F
  • License BSD-3-Clause

A set of helpers and/or workarounds to be shared across packages

Package Exports

  • @times-components/utils
  • @times-components/utils/rnw

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@times-components/utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Times Component - Utils

This package contains shared utilities for other packages, such as string utils, screen size utils, and schema updater.

Fetching the latest schema

In order to fetch the latest graphql schema, follow these steps:

  1. export GRAPHQL_ENDPOINT=https://api.thetimes.co.uk/graphql (Omit this step to use local server instead)
  2. yarn make-schema