@burst/can-use-dom
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

@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);
}

Readme

Keywords

Package Sidebar

Install

npm i @burst/can-use-dom

Weekly Downloads

10

Version

1.2.0

License

MIT

Unpacked Size

3.99 kB

Total Files

10

Last publish

Collaborators

  • dennistimmers
  • robinheij
  • joriregter
  • burst-bot
  • carinhansen
  • perryjanssen
  • fvanharreveld