Socket
Socket
Sign inDemoInstall

@times-components/utils

Package Overview
Dependencies
Maintainers
3
Versions
373
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@times-components/utils

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


Version published
Weekly downloads
960
decreased by-56.1%
Maintainers
3
Weekly downloads
 
Created
Source

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

Contributing

Please read CONTRIBUTING.md before contributing to this package

Running the code

Please see our main README.md to get the project running locally

Development

The code can be formatted and linted in accordance with the agreed standards.

yarn fmt
yarn lint

Testing

This package uses yarn (latest) to run unit tests on each platform with jest.

yarn test

Future

Some of the test specific utilities should be moved to the test-utils package.

Keywords

FAQs

Package last updated on 25 Jan 2024

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc