README
npm)
snapcode (Get SVG Snapcode
Install
$ npm install snapcode
Usage (in code)
var snapcode = require('snapcode');
snapcode.username(name: string, function(svg) {
console.log(svg);
});
Returns SVG.
Examples
var snapcode = require('snapcode');
snapcode.username("Test", function(svg) {
console.log(svg);
});
Unit tests
Use Jasmine to create that type of tests.
$ npm run test