Licensing a JavaScript library
- by Kendall Frey
I am developing a free, open-source (duh) JavaScript library, and wondering how to license it.
I was considering the GNU GPL, but I heard that I must distribute the license with the software, and I'm not sure anymore.
I would like the library to be available much like jQuery: In a free, downloadable script, preferably in either original or minified form. Am I mistaken about the GNU GPL license terms? jQuery is dual licensed under GNU GPL or MIT licenses.
How does the GPL apply to single script files like that? Can I license my library with nothing more than a few sentences in the script file? Is there another license that better suits my needs?
What would be nice is a license that allows you to put the URL in the source, for people to read if they want. I don't know that many do, unless I am mistaken.
I am generally looking to release the library as free software like the GPL specifies, but don't want to have to force licensees to download the full license unless they wish to read it.