create-cw-file
v1.1.0
Published
Create a base codewars file.
Downloads
5
Readme
create-cw-file
An NPM tool that creates a base codewars file with provided kata id.
Creating a File
You’ll need to have Node 7.0.0 or later version on your machine. You'll need to have a VS Code installed on your machine. To install the package globally:
npm i -g create-cw-file
To create a new file:
npx create-cw-file kata-id
It will create a directory (if it does not already exist) inside the current folder named after the difficulty of the kata. Inside that directory, it will generate a javascript file with a link to the challenge and open automatically it in VS Code.
codewars
├── 6-kyu
├── sample-kata.js