UNPKG

ngx-html-bridge

Version:

An Angular Template Parser to convert Angular templates into an array of standard, static HTML strings.

10 lines (8 loc) 279 B
/** * @fileoverview * This file exports a jsdom instance to be used for DOM manipulation. * This is used to create and manipulate DOM nodes in a Node.js environment. */ import { JSDOM } from "jsdom"; const jsdom = new JSDOM(); export const document = jsdom.window.document;