UNPKG

next-csrf

Version:

CSRF mitigation library for Next.js

12 lines (11 loc) 209 B
/** * Node Class as base class for TextNode and HTMLElement. */ export default class Node { constructor() { this.childNodes = []; } get innerText() { return this.rawText; } }