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

2.0.0 • Public • Published

@bconnorwhite/can-use-dom

npm typescript Coveralls Status

Typed version of can-use-dom to check if you can use the DOM

If I should maintain this repo, please ⭐️ GitHub stars

DM me on Twitter if you have questions or suggestions. Twitter Follow



Installation

yarn add @bconnorwhite/can-use-dom
npm install @bconnorwhite/can-use-dom
pnpm add @bconnorwhite/can-use-dom

API

import canUseDOM from "@bconnorwhite/can-use-dom";

console.log(canUseDOM); // boolean

Dev Dependencies

  • autorepo: Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.

License license

MIT

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @bconnorwhite/can-use-dom

    Weekly Downloads

    0

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    4.21 kB

    Total Files

    8

    Last publish

    Collaborators

    • bconnorwhite