Displaying 1 to 20 from 28 results

react-snapshot - A zero-configuration static pre-renderer for React apps

  •    Javascript

Server-side rendering is a big feature of React, but for most apps it can be more trouble than its worth. Personally, I think the sweet spot is taking static site snapshots of all your publicly-accessible pages & leaving anything requiring authentication as a normal, JS-driven Single Page App. This is a project to do that. Automatically, without any configuration, just smart defaults. Retrospective progressive enhancement.

react-testing-library - 🐐 Simple and complete React DOM testing utilities that encourage good testing practices

  •    Javascript

Simple and complete React DOM testing utilities that encourage good testing practices. You want to write maintainable tests for your React components. As a part of this goal, you want your tests to avoid including implementation details of your components and rather focus on making your tests give you the confidence for which they are intended. As part of this, you want your testbase to be maintainable in the long run so refactors of your components (changes to implementation but not functionality) don't break your tests and slow you and your team down.

weld - Template antimatter for Node.js (Browsers too!)

  •    Javascript

Simple. Weld binds data to markup, and can generate markup based on your data. There's NO special syntax or data reshaping required. It works in the browser and in node.js! Weld is currently 3.66Kb uglified with no dependencies other than a valid DOM. Weld will apply values to elements the way that elements expect to have their values set.Pass in a parent DOM Element, some data, and optionally some configuration details.




dom-testing-library - 🐙 Simple and complete DOM testing utilities that encourage good testing practices

  •    Javascript

Simple and complete DOM testing utilities that encourage good testing practices. You want to write maintainable tests for your Web UI. As a part of this goal, you want your tests to avoid including implementation details of your components and rather focus on making your tests give you the confidence for which they are intended. As part of this, you want your testbase to be maintainable in the long run so refactors of your components (changes to implementation but not functionality) don't break your tests and slow you and your team down.

jsdom-global - Enable DOM in Node.js

  •    Javascript

jsdom-global will inject document, window and other DOM API into your Node.js environment. Useful for running, in Node.js, tests that are made for browsers.Requires jsdom.

benv - Stub a browser environment in node.js and headlessly test your client-side code.

  •    Javascript

Stub a browser environment and test your client-side code in node.js.


node-schema-org - A node.js library that retrieves, parses and provides all schemas from schema.org

  •    Javascript

A node.js library that retrieves, parses and provides all schemas from schema.org

react-jsdom - Render React components to actual DOM nodes in Node.js

  •    Javascript

Makes testing simple React components super easy with any Node.js test framework.

window - Exports a jsdom window object.

  •    Javascript

Exports a jsdom window object.Exports a jsdom window object. This is useful for enabling browser modules to run in Node.js or testing browser modules in any Node.js test framework.

browser-env - Simulates a global browser environment using jsdom

  •    Javascript

Simulates a global browser environment using jsdom.This allows you to run browser modules in Node.js 6 or newer with minimal or no effort. Can also be used to test browser modules with any Node.js test framework. Please note, only the DOM is simulated, if you want to run a module that requires more advanced browser features (like localStorage), you'll need to polyfill that seperately.

mocha-jsdom - Simple jsdom integration with mocha

  •    Javascript

Deprecation notice: Consider jsdom-global instead, a simpler alternative that also works outside of Mocha. mocha-jsdom still works, but jsdom-global is better supported.Test frontend libraries in the console using Node.js, mocha and jsdom.

jsdom-worker - 👷‍♀️ Use Web Workers in Jest / JSDOM 🌈

  •    Javascript

This is an experimental implementation of the Web Worker API (specifically Dedicated Worker) for JSDOM. It does not currently do any real threading, rather it implements the Worker interface but all work is done in the current thread. jsdom-worker runs wherever JSDOM runs, and does not require Node.

express-jsdom - Server-side DOM for express.js

  •    Javascript

The express-jsdom module provides an alternative approach to building web applications with express. Instead of using templates to create markup, it uses the same object model as the browser to build documents. Once the document has been assembled on the server, it is serialized and sent to the client as HTML.

jest-dom - Custom jest matchers to test the dom structure

  •    Javascript

You want to use jest to write tests that assert various things about the state of a DOM. As part of that goal, you want to avoid all the repetitive patterns that arise in doing so. Checking for an element's attributes, its text content, its css classes, you name it. The jest-dom library provides a set of custom jest matchers that you can use to extend jest. These will make your tests more declarative, clear to read and to maintain.

scrape-markdown - A simple utility for scraping web pages and returning the results in Markdown.

  •    Javascript

A simple utility for scraping web pages or raw HTML data and returning the results in Markdown. scrape-markdown accepts one or more URLs, filepaths, or HTML strings. If you supply an HTML string, scrape-markdown converts the data to Markdown directly. If you supply a URL or filepath, scrape-markdown attempts to fetch the contents first.

w625 - ES6 repl with web page scope

  •    Javascript

ES6 repl with web page scope

jsdom-repl - Simple jsdom repl

  •    Javascript

Simple jsdom repl