<commit_before>Description
===========

tualo-barcode can be used to create barcode images as svg. There are no native depenencies needed.

Requirements
============

* [node.js](http://nodejs.org/) -- v0.8.0 or newer


Installation
============

    npm install tualo-barcode

How to Use
==========

see the test.js<commit_msg>added dependencies, updated the docs<commit_after>Description
===========

tualo-barcode can be used to create barcode images as svg. There are no native depenencies needed.

Currently suppored are:
* Code39
* Datamatrix

Requirements
============

* [node.js](http://nodejs.org/) -- v0.8.0 or newer


Installation
============

    npm install tualo-barcode

How to Use
==========

	var http = require('http');
	var Barcode = require('tualo-barcode').Barcode;
	
	var server = http.createServer(function(req, res) {
		res.writeHead(200);
		var code_39_svg = (new Barcode({
			type: 'Code39',
			width: 300
		})).getSVG('tualo.de',true);
	
		var datamatrix_svg = (new Barcode({
			type: 'Datamatrix',
			fillColor: 'blue',
			strokeColor: 'darkblue',
			strokeWidth: 1,
			width: 'auto',
			height: 'auto'
		})).getSVG('http://tualo.de',true);
		
		res.end('<html><body style="background: white;">'+code_39_svg+'<br/><br/>'+datamatrix_svg+'</body></html>');
	});
	
	server.listen(parseInt(process.env.PORT) || 3000);
	console.log("server listening on port %d …", server.address().port);
{'fraction_non_alphanumeric': 0.20099079971691436, 'fraction_numerical': 0.017692852087756547, 'mean_word_length': 4.356060606060606, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1388685', 'n_tokens_mistral': 534, 'n_tokens_neox': 478, 'n_words': 118}