git ssb

0+

cel-desktop / ssb-pkg



Tree: d456a6cc8589489e558e6164750474ed2cfc961e

Files: d456a6cc8589489e558e6164750474ed2cfc961e / 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