Comparing version 0.0.1 to 0.0.2
var cacher = require('epub-cache'); | ||
var fs = require('fs'); | ||
var tmpl = require('epub-tmpl'); | ||
var cat = require('./localcat.js'); | ||
@@ -71,2 +72,6 @@ exports.attach = function attach(cacheDir) { | ||
exports.catalogService = function () { | ||
return cat; | ||
} | ||
function load(contentConfig, readerConfig) { | ||
@@ -73,0 +78,0 @@ |
{ | ||
"name": "epub2web", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Web server module to allow reading of Epub content directly in the browser, without plugins or specialized applications. ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,6 +0,20 @@ | ||
epub2web | ||
=========== | ||
epub2web Epub Reading System | ||
============================== | ||
# What It Does | ||
What it Does | ||
--------------- | ||
Combines epub-cache with epub2html in order to make Epub content readable via a browser, without special plugins, extensions or hacks. | ||
All-purpose, open source library for Epub content browsing and display. Combines epub-cache with epub2html in order to make Epub content readable via a browser, without special plugins, extensions or hacks. | ||
Installing | ||
--------------- | ||
npm install epub2web | ||
Usage | ||
--------------- | ||
See the examples in the test folder. The main test will set up a rudimentary web server to illustrate what's possible. The singlebook variation is to demonstrate how you might serve a single book on one address, and the multibook variation shows how you might add directory indexing to create browsable lists of epub content for a catalog. | ||
1072856
279
21