Saturday, December 03, 2022

jsdom: node.js server side rendering

jsdom is a pure-JavaScript implementation of many web standards, notably the WHATWG DOM and HTML Standards, for use with Node.js. In general, the goal of the project is to emulate enough of a subset of a web browser to be useful for testing and scraping real-world web applications.

Data visualization with D3.js and Node.js - LogRocket Blog

D3.js is a powerful JavaScript library that allows developers to create and present easily digestible, appealing, and interactive data visualization experiences.

parsers in JavaScript: jison

jison lib is used by mermaid.js

mermaid/flow.jison at develop · mermaid-js/mermaid

mermaid/stateDiagram.jison at develop · mermaid-js/mermaid

mermaid/stateRenderer.js at develop · mermaid-js/mermaid

jison - npm

zaach/jison: Bison in JavaScript. @GitHub

Jison generates bottom-up parsers in JavaScript. Its API is similar to Bison's, hence the name. It supports many of Bison's major features, plus some of its own. If you are new to parser generators such as Bison, and Context-free Grammars in general, a good introduction is found in the Bison manual. If you already know Bison, Jison should be easy to pickup.

Briefly, Jison takes a JSON encoded grammar or Bison style grammar and outputs a JavaScript file capable of parsing the language described by that grammar. You can then use the generated script to parse inputs and accept, reject, or perform actions based on the input.

mermaid-js/mermaid: Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown @GitHub