New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@mtyk/frontend

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mtyk/frontend

Shared frontend utilities functions

latest
Source
npmnpm
Version
0.1.45
Version published
Maintainers
1
Created
Source

MTYK Frontend

Resuable stuff for all React/React Native applications.

Usage

In your application configuration, add the MTYKTransform to your babel configuration similar to the following:

const MTYKTransform = require('@mtyk/frontend/babel')

module.exports = {
  presets: ['next/babel'],
  plugins: [MTYKTransform({ environment: 'browser' })],
}

Where environment can either be "native" or "browser". This will rewrite some import declrations to make sure you get the native/browser versions of various dependencies.

FAQs

Package last updated on 10 Feb 2023

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