https://github.com/huytd/js-playground
A JS playground with some decent visualization
https://github.com/huytd/js-playground
algorithm hacktoberfest javascript playground visualize-data
Last synced: 2 months ago
JSON representation
A JS playground with some decent visualization
- Host: GitHub
- URL: https://github.com/huytd/js-playground
- Owner: huytd
- License: bsd-3-clause
- Created: 2020-02-29T01:38:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-02T15:36:15.000Z (about 2 years ago)
- Last Synced: 2024-04-15T06:47:50.385Z (over 1 year ago)
- Topics: algorithm, hacktoberfest, javascript, playground, visualize-data
- Language: TypeScript
- Homepage: https://algorithm-pad.now.sh/
- Size: 2.98 MB
- Stars: 97
- Watchers: 4
- Forks: 7
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Yet another JS Playground
This time, with some decent data structure visualization.

Try it online at: https://algorithm-pad.now.sh
Usage:
- Just write your code normally
- Whenever you want to visualize your data, use `debug()`.
- Whenever you want to print a log, use `log()`.For example:
```
const str = "Hello World";
// Visualize a string
debug(str);
// Highlight a 3rd character
debug(str, 2);
// Highlight a range of charager
debug(str, [1,2,3]);
```