Socket
Socket
Sign inDemoInstall

anchor-website-common

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

anchor-website-common

anchor common package


Version published
Maintainers
1
Weekly downloads
1

Weekly downloads

Readme

Source

anchor-website-common

anchor common lib

Features

  • ES6 syntax, managed with Prettier + Eslint and Stylelint
  • Unit testing via Jest
  • ESM

Install

yarn add anchor-website-common
// or
npm i anchor-website-common

Usage

import { isAndroid } from 'anchor-website-common';

if(isAndroid(window.navigator.userAgent)) {
  console.log('This is Android');
} else {
  console.log('This is not Android');
}

FAQs

Last updated on 31 Jul 2022

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc