git ssb

0+

cel-desktop / ssb-pkg



Tree: efcf9fd06b02fa9bcd28681b4c777224e19702bb

Files: efcf9fd06b02fa9bcd28681b4c777224e19702bb / test / test-79-npm / sax / sax.js

219 bytesRaw
1'use strict';
2
3var sax = require('sax');
4var parser = sax.parser(true);
5
6parser.onopentag = function (node) {
7 if (node.name === 'hello') {
8 console.log('ok');
9 }
10};
11
12parser.write('<hello>World!</hello>').close();
13

Built with git-ssb-web