Package Exports
- daisy-resources
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (daisy-resources) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
daisy-resources
Get a data representation of a DAISY 2.02 book from parsing its files
Examples
var resources = require('daisy-resources');
var book = resources('./path/to/book');
book.getFlow(function(err, flow) {
// Do something with the DAISY flow
});
book.getSmil(function(err, smilFiles) {
// Do something with your list of SMIL files
});