Need private packages and team management tools?Check out npm Orgs. »


1.1.8 • Public • Published

Build Status npm version downloads PRs Welcome


A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding.


npm install -g teach-code

How to use

The user is required to solve 30 tasks which takes him/her through the basic constructs of a programming language of choice. The tasks are such that the complexity goes on increasing based on the user progress. Also, he/she can't move forward unless the current task is completed since the progress is governed by a unique key that gets generated on successful completion. Previously submitted tasks can be viewed as required by the user but can't be worked on again.

  • It expects you to have a GitHub account. Make sure that you create one if that's not the case.
  • Navigate to a directory of your choice and type in teachcode init.
  • Follow the instructions as being prompted.
  • Now type in cd teachcode-solutions.
  • Grab the initial key and type in teachcode fetchtask <key>.
  • Hurray 🎉 you've got your first task.
  • Now you can find a config.json and (language of choice) file within the teachcode-solutions directory.
  • Open up your favourite editor and code up the solution.
  • Now type in teachcode submit.
  • Enter your Git credentials when prompted.
  • If the current solution satisfies all test cases, you'll get the key to proceed with.
  • Grab the key and type in teachcode fetchtask <key>.

Available Commands

command description
teachcode init Initializes all the tasks
teachcode fetchtask Fetches the task correponding to key provided
teachcode submit Submits the current task
teachcode showkeys Shows all the keys grabbed
teachcode showcommands Lists all the available commands


Contributions of any kind are welcomed. Make sure that you go through these guidelines


Licensed under GNU General Public License V3.0


npm i teach-code

Downloadsweekly downloads









last publish


  • avatar
Report a vulnerability