Learn JS by reading sources of micro libraries.

One of the effective strategies for learning JS is reading code. Unfortunately, lots of popular projects are so big that learning anything from them will be hard.
Fortunately, you can still find projects that are small enough to fit into one file. You can read the whole thing from top to bottom.

Most of the list comes from Mateusz Kwaśniewski

One file projects #

jstinytest #

Source of tinytest.js

Hyperapp #

Source is just one index.js file

Nanostate #

Source is just one index.js file

Bigger projects (a couple of files) #

Express #

Koa #

Share on Hacker News
Share on LinkedIn

← Home

Want to learn more?

Sign up to get a digest of my articles and interesting links via email every month.

* indicates required

Please select all the ways you would like to hear from Krzysztof Kula:

You can unsubscribe at any time by clicking the link in the footer of my emails.

I use Mailchimp as a marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.