Socket
Socket
Sign inDemoInstall

typhoon-common-functions

Package Overview
Dependencies
1
Maintainers
1
Versions
165
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    typhoon-common-functions

Common functions used by the Typhoon components and framework.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

typhoon-common-functions

Common functions used in the Typhoon components and framework.

npm version code style: prettier Storybook

Installation

To install the library, type:

npm install typhoon-common-functions

or

yarn add typhoon-common-functions

Function Categories

The functions are divided into a number of different files, each of which contains a category of function.

Component Variable Extraction

Extracts different properties passed as properties to a screen or component. If passed to a screen, the functions extract the properties from the screenView property.

Handles the saving, deleting, and reading of cookie values.

Data Comparer

Compares different objects and arrays to see if they are equal or comparable to one another.

Data Converter

Converts data between different forms.

Data Filterer

Filters objects and arrays in different ways.

Data Organiser

Organises objects and arrays in different ways.

Date Operations

Performs date conversions, including finding relative periods to the current period.

Export

Exports data into different file types.

Local Storage Manager

Handles the saving, erasing, and reading of data from local storage.

Logger

Logs different debugging information to the console.

Saved Input

Handles the saving and reading of input information from the input reducer in the Redux store.

Saved Status

Handles the saving and reading of status information from the status reducer in the Redux store.

Storybook

Displays information about functions and components in a graphical way.

Style Manager

Returns default sizes and colours for components, along with reading style information from the styling reducer in the Redux store.

Utility Functions

Miscellaneous functions performing simple operations such as changing case or rounding numbers.

You can view the functions on Storybook here.

FAQs

Last updated on 05 Dec 2019

Did you know?

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc