Popularity of Open Licenses Varies by Programming Language

The Open Source Initiative (OSI), an organization that verifies licenses for compliance with Open Source criteria, has published the results of its analysis on the popularity of open licenses based on the programming languages used in projects.

Overall, the most popular licenses are MIT and Apache 2.0. However, the preferences for licenses vary depending on the programming languages used. For projects using JavaScript, the MIT license is the most popular, while for projects using Python, the Apache 2.0 license takes the lead. The BSD license maintains a consistently high position but is not the top choice. The GPL license is also relatively common but is often overshadowed by MIT, Apache 2.0, and BSD.

The popularity of licenses for different programming languages is as follows:

  • JavaScript (NPM repository)
  • LicensePercentage
    MIT53%
    Apache 2.014.76%
    ISC10.48%
    No license indication13.49%
    BSD-31.45%
    GPLV30.46%

    Source: Open Source Initiative

  • C#/.NET (nuget)
  • LicensePercentage
    No license specifying58.71%
    MIT21.55%
    Apache 2.013.37%
    LGPLV31.33%
/Reports, release notes, official announcements.