Adding a License to Your Library


placeholder

This is a premium lesson.

Subscribe to get access to the entire course.

Sign up now

Jump in any open source repo in GitHub, and chances are there’s a LICENSE file at the top level. This text file outlines the legal bounds with which members of the public can use your software. As a prospective consumer, it answers questions like:

For the most part, the licenses you’ll find in open-source repos are permissive. Meaning that they often permit consumers to use the software in any project, or to even modify and distribute the software. They also waive any liability and warranty in case their software is responsible for damages to your software and/or company.

Do you need a license for you library?

It’s not necessary to have a license, but it’s highly recommended.

Without a license, the default copyright laws apply, meaning that anyone who downloads and m