mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-06-18 10:26:02 +12:00
8 lines
299 B
JavaScript
8 lines
299 B
JavaScript
|
require('babel-register')
|
||
|
// use a mock DOM so we can run mithril on the server
|
||
|
require('mithril/test-utils/browserMock')(global)
|
||
|
|
||
|
const kepubify = require('../src/kepubify').default
|
||
|
|
||
|
console.log(kepubify(`<html><body><p>Some text. Woo or not. Here is <img /> another sentence.</p></body></html>`))
|