Skip to content

Instantly share code, notes, and snippets.

@rricard
rricard / papiel-reader.js
Last active December 19, 2015 07:09
A sample Papiel reader written in pure node.js
#!/bin/node
/**
* Launch with `node papiel-reader.js`
*/
var http = require('http'),
https = require('https'),
fs = require('fs'),
url = require('url');