UNPKG

silkroad-js

Version:

Silkroad SDK compatible with browser and nodejs

15 lines (12 loc) 296 B
(function() { var silkroad = require('../../src/main.js'); var http = require('http'); silkroad.request.get({ hostname: 'localhost', path: '/', port: 3000 }, function(res) { //console.log("recieved: ", res); process.exit(); }); })();