Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

epub2web

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

epub2web - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

5

lib/epub2web.js
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 @@

2

package.json
{
"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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc