Code Monkey home page Code Monkey logo

epubchecker's People

Contributors

edoardocavazza avatar nicolocarpignoli avatar pkra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

epubchecker's Issues

'missing file' error

I am using epubchecker for validating whether an epub is free of errors or not but while passing the ebook URL I am getting the message: 'missing file'.
const report = await epubchecker('<EBookURL>',{ includeWarnings: true, exclude: /\.(css|ttf|opf|woff|woff2)$/, });
Here EBookURL paramter is the s3 url of the ebook.

It will be a great help if anyone can tell me what I am missing here. Thanks for reading.

question on checking a folder

I have a question about passing a folder to epubchecker.js.

In

epubchecker/lib/index.js

Lines 169 to 175 in a7da817

// compress the directory as ePub
tmpFilePromise = epubFromDirectory(epubFile)
.then((file) => {
epubTempFile = file;
return file;
});
}

epubchecker creates an epub file and then runs epubcheck on that file.

I'm wondering if there is a specific reason why it is not using epubcheck's expanded mode (--mode exp) instead. The current behavior was surprising (for me anyway) and seems less performant.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.