npm install fortune-teller
var fortune = require('fortune-teller')
var fortune = fortune.fortune();
======
On install fortune converts the fortunes in fortunes/ into json. You can add or remove files / folders from here and rebuild using npm
Fortune for Node.js