Kata Playground TS
A simple playground to create and test your Katas in Typescript.
A code kata is an exercise in programming which helps programmers hone their skills through practice and repetition
You can find some katas on sites like Codewars.
How to use
Install the deps
yarn
Create a new kata
# show a prompt to add the name
yarn new:kata
# create the kata directly
yarn new:kata cool-exercise
Write your code and tests
All katas are created under src/<kata-name>
folder, there you'll find the following structure:
└── your-kata-exercise
├── README.md # Add the kata description here
├── index.ts # Your code
└── test.ts # Your tests
Test your kata
# run all tests
yarn test
# run only your kata
yarn test cool-exercise
# run and watch your kata
yarn test:watch cool-exercise