d2-playground
jsdom
Our great sponsors
d2-playground | jsdom | |
---|---|---|
23 | 55 | |
62 | 19,954 | |
- | 0.9% | |
6.5 | 7.8 | |
11 days ago | 7 days ago | |
JavaScript | JavaScript | |
Mozilla Public License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
d2-playground
- D2 Playground
- How to draw beautiful software architecture diagrams
-
The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
https://play.d2lang.com/?script=qlDQtVOo5AIEAAD__w%3D%3D&ske...
I was going to ask why you don't have a web version but you already do. I'm going to play with this more today.
Have you thought about an "auto compile"/live mode where it changes as you edit the text? I think this adds a level of intuitiveness that would help new users explore.
- D2 Declarative Diagramming playground: Turn diagram scripting language to images
- I wrote a tool in Go to write Sequence Diagrams in Go
-
Animated diagrams with D2, a text-to-diagram language written in Go
Wow that's a very detailed catch, thanks for reporting! Made an issue: https://github.com/terrastruct/d2-playground/issues/33
-
Org Novelist: A system for writing novel-length fiction using Emacs Org mode.
A video can be a lot of work, it is quite challenging to produce a satisfying result. Instead, I suggest you to draw (here is a nice online tool to do that. If you prefer plain text, you can use d2) a Flowchart to represent your workflow. For someone who wants to understand a use case, it will be much quicker to look at a diagram rather than read or watch a video. And it will be easier for you to produce it.
-
Extension for creating beautiful software architecture diagrams with text
We'll have our own API available for you to do this too. So you can make something on playground (https://play.d2lang.com) and then render the same way. E.g. https://github.com/alixander/test-render/blob/main/README.md
-
Is TypeScript actually worth It?
if you're talking about the playground, I did the initial version in a weekend or so (https://github.com/terrastruct/d2-playground), which includes building a WASM version of D2 (written in Go), putting a text editor, some UI stuff like dropdowns/menu, hooking it up together, layouts and responsiveness whatnot.
If you're talking about D2 language itself, ~2 devs over 3/4 of a year.
-
Discord plugin for generating diagrams on the fly through text
You can give it a spin to see if it's a fit for you here: https://play.d2lang.com
jsdom
- Simplifier l’intégration des icônes depuis Figma : De la conception au design system
-
Migrating from Jest to Vitest for your React Application
If you happen to be using React Testing Library in your project, you'll need to keep the jsdom dev dependency installed.
-
Building a Serverless Reader View with Lambda and Chrome
Readability.js requires a DOM object to parse the readable content from a website. That's why we create a DOM object with JSDOM and provide the HTML from the page and its current URL. By the way, the browser may have had to follow HTTP redirects, so the current URL doesn't necessarily have to be the one we provided initially. The parse function of the library returns the following result:
-
Best HTML Parsing Libraries in JavaScript
This was the basic usage of JSDOM. If you want to learn more, please check out this documentation.
-
Portadom: A Unified Interface for DOM Manipulation
Web scraping, while immensely useful, often requires developers to navigate a sea of tools and libraries, each with its own quirks and intricacies. Whether it's JSDOM, Cheerio, Playwright, or even just plain old vanilla JS in the DevTools console, moving between these platforms can be a challenge.
-
"react-next-tilt" and "react-flip-tilt" NPM Packages
React testing library uses jsdom (or others like happy-dom) under the hood to emulate the browser environment and enable testing of different properties. but it doesn't render the component in an actual browser meaning the styles can't be computed and the returned computed style is just an object with the correct keys but empty strings as values.
- The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
-
How does the Official Node.js News Feeder work?
Note: In order to use the library jsdom to scrape the HTML response we need to avoid the @import statements in the CSS.
-
PoC of ReactJS app inside Service Worker
The code uses jSDom to render the app but I was wondering if it's possible to run the app without the UI to be able to use a library like that to generate the string from react element.
-
React component testing with Vitest efficiently
JSDOM as the DOM environment for running our tests
What are some alternatives?
text-to-diagram-site - Compare syntax, layouts, outputs between languages for generating diagrams with text.
happy-dom - A JavaScript implementation of a web browser without its graphical user interface
d2-vscode - VSCode extension for D2 files.
cheerio - The fast, flexible, and elegant library for parsing and manipulating HTML and XML.
d2-docs - Language documentation and blog for D2.
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
d2 - D2 is a modern diagram scripting language that turns text to diagrams.
webworker-threads - Lightweight Web Worker API implementation with native threads
proposal-type-annotations - ECMAScript proposal for type syntax that is erased - Stage 1
Next.js - The React Framework
ts-proto - An idiomatic protobuf generator for TypeScript
vitest - Next generation testing framework powered by Vite.