It's easy to get lost in the subtlety of how important it is to properly license your creation. Specifying a license clearly communicates your intentions and terms as the author.
Choose a license. I prefer MIT or BSD. Please don't use a GPL license if that's not exactly what you want, and know that it significantly impedes the mass use and contribution to your project.
Create a LICENSE file in the base of your project and include the exact license copy with your copyright statement. Do not just include a URL to a license template. It's IMPORTANT that your include the license terms verbatim.
Celebrate! You're part of the open source community. High fives all around.
If your community (e.g. node.js) has a community convention for specifying licenses in addition to the LICENSE file, follow along! For example, the node.js
package.json file contains a