code: function main() {
  	var snippet;
  	var header;
  	var fpath;
  	var keys;
  	var lang;
  	var conf;
  	var len;
  	var i;
  
  	keys = objectKeys( LANGS );
  	len = keys.length;
  
  	debug( 'Generating %d license header snippets...', len );
  	for ( i = 0; i < len; i++ ) {
  		lang = keys[ i ];
  
  		debug( 'Generating license header for `%s`...', lang );
  		if ( lang === 'default' ) {
  			header = licenseHeader( SPDX, DEFAULT_HEADER_LANG, OPTS );
  		} else {
  			header = licenseHeader( SPDX, lang, OPTS );
  		}
  		if ( header === null ) {
  			debug( 'Failed to generate a license header for `%s`.', lang );
  			continue;
  		}
  		conf = LANGS[ lang ];
  
  		debug( 'Generating license header snippet...' );
  		snippet = createSnippet( header, conf );
  
  		debug( 'Writing license header snippet to file...' );
  		if ( lang === 'default' ) {
  			fpath = join( OUT_DIR, 'stdlib-license.sublime-snippet' );
  		} else {
  			fpath = join( OUT_DIR, 'stdlib-license-'+lang+'.sublime-snippet' );
  		}
  		writeFileSync( fpath, snippet, FOPTS );
  
  		debug( 'Successfully generated license header snippet.' );
  	}
  	debug( 'Finished generating snippets.' );
  }
docs: MAIN // 
  Main execution sequence.
  
  @private