patamancy

0.0.1 • Public • Published

Patamancy

A pataphysical bibliomancy library on Alfred Jarry's Gestes et opinions du docteur Faustroll

import patamancy from 'patamancy';

var position = 12345; //  

// var options {position: 12345}; // quote at position 12.345% of the book
var options = {}; // random quote
var quote = patamancy.randomQuote(options);

console.log(quote.quote);
console.log(quote.position/1000, "%");
console.log(quote.chapter.join('\n'));
console.log("https://mmai.github.io/faustrollianae/#/loc/"+quote.position);

Readme

Keywords

none

Package Sidebar

Install

npm i patamancy

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

274 kB

Total Files

7

Last publish

Collaborators

  • mmai