Mizu-ts is a joke script that simulates water(H2o) generation in TypeScript.
Note
A TypeScript port of Mizu, originally written in JavaScript.
https://shimabox.github.io/Mizu-ts/
https://shimabox.github.io/Mizu-ts/?m=1&h=60&o=100
| key | default | type | description |
|---|---|---|---|
| m | 0 | number | Show measurement if set to 1 |
| h | 30 | number | Number of H to generate |
| o | 50 | number | Number of O to generate |
Fixed.
- 改善(interfaceを利用した実装にする, リファクタなど)
- Node.js >= 18.0.0
- npm >= 9.0.0
Volta is a convenient tool for managing Node.js and npm versions:
# Install Volta
curl https://get.volta.sh | bash
# Install Node.js and npm
volta install node@18For dependency visualization, dependency-cruiser is used. To generate visual graphs, you need to install Graphviz.
Follow the steps below to install it.
macOS
brew install graphvizlinux
# Ubuntu/Debian
sudo apt install graphviz
# Fedora
sudo dnf install graphvizOfficial Graphviz download page.
Windows
Download the installer from the official Graphviz download page, and follow the setup instructions.
# Clone the repository
git clone https://github.com/shimabox/Mizu-ts.git
# Navigate to the project directory
cd Mizu-ts
# Install dependencies
npm installnpm run devnpm run buildnpm run previewnpm run lintnpm run formatnpm run testnpm run coveragenpm run depcruiseThis command generates dependency-graph.svg in the project root.
npm run dependency-graph





