Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@burst/can-use-dom

Package Overview
Dependencies
Maintainers
7
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@burst/can-use-dom

can use dom in nextjs

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
7
Created
Source

@burst/can-use-dom

Check if user can use DOM

installation

npm i @burst/can-use-dom

Example

import { canUseDOM } from '@burst/canUseDOM';

if (canUseDOM()) {
  gsap.registerPlugin(ScrollToPlugin);
}

Keywords

canuseDom

FAQs

Package last updated on 05 Mar 2021

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