aboutsummaryrefslogtreecommitdiff
path: root/node_modules/sax/examples/hello-world.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/sax/examples/hello-world.js')
-rw-r--r--node_modules/sax/examples/hello-world.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/sax/examples/hello-world.js b/node_modules/sax/examples/hello-world.js
new file mode 100644
index 000000000..cbfa5184e
--- /dev/null
+++ b/node_modules/sax/examples/hello-world.js
@@ -0,0 +1,4 @@
+require("http").createServer(function (req, res) {
+ res.writeHead(200, {"content-type":"application/json"})
+ res.end(JSON.stringify({ok: true}))
+}).listen(1337)