Socket
Socket
Sign inDemoInstall

cydom

Package Overview
Dependencies
2
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cydom

Cypress' DOM helpers outside Cypress


Version published
Weekly downloads
8
increased by100%
Maintainers
1
Install size
111 kB
Created
Weekly downloads
 

Readme

Source

cydom

Cypress' DOM helpers for everyone else!

Usage

const { isVisible } = require("cydom");
// or
import { isVisible } from "cydom";

Includes what Typescript definitions Cypress has as well!

Refer to https://docs.cypress.io/api/cypress-api/dom.html for documentation.

How

A nasty build script that extracts the DOM helpers from Cypress' monorepo and fiddles a bit to get them to import fine outside that context

Why

Cause they are fantastic! Cypress has put an immense amount of work into identifying all the little corner cases that render tests flakey. We can stand on their very high shoulders!

Thanks

Thanks to Cypress for publishing their code at all and for MIT licensing it so this kind of thing is possible. <3

FAQs

Last updated on 24 Feb 2020

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