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.
yarn
# show a prompt to add the name
yarn new:kata
# create the kata directly
yarn new:kata cool-exercise
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
# run all tests
yarn test
# run only your kata
yarn test cool-exercise
# run and watch your kata
yarn test:watch cool-exercise