Learn You Node is a command-line workshopper for learning Node.js. It is a hands-on tool that teaches Node.js concepts and syntax through a series of interactive challenges.
- Interactive command-line interface (CLI) for learning Node.js.
- Offers a series of exercises and challenges to master various aspects of Node.js development.
- Provides instant feedback on your solutions and progress.
- Covers fundamental concepts such as file I/O, HTTP, asynchronous programming, and more.
To get started with Learn You Node, you need to have Node.js and npm (Node Package Manager) installed on your system. Once you have Node.js installed, you can install Learn You Node globally using the following npm command:
npm install -g learnyounode
This will install Learn You Node globally on your system, allowing you to access it from anywhere via the command line.
To launch Learn You Node, simply type the following command in your terminal:
learnyounode
This will start the interactive workshopper interface, where you can navigate through the exercises, read instructions, write code solutions, and verify your solutions against the provided tests.
This project comes with several predefined scripts in the package.json file:
test
: Runs tests using Jest add the file name at the end.
npm run jest
build
: You have to be inside the folder of the file you want to transpile
npm run build
ts-node
: Starts the development app with ts-node-dev and allows debugging
ts-node path.ts