-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
browserify -r hyperquest - r through -r url > static/bundle.js
// =>
`
<body>
<script src="bundle.js></script>
<script>
var hyperquest = require('hyperquest')
var through = require('through')
var url = require('url')
var re = document.createElement('pre')
document.body.appendChild(pre)
var href = url.resolve(location.href, './turtle.txt')
var hq = hyperquest(href)
hq.pipe(through(function (buf) { pre.appendChild(document.createTextNode(buf)) }))
</script>
</body>
`
Metadata
Metadata
Assignees
Labels
No labels