ageitgey / node-unfluff

Automatically extract body content (and other cool stuff) from an html document
Apache License 2.0
2.15k stars 221 forks source link

unfluff in ionic app #83

Open kudchikarsk opened 6 years ago

kudchikarsk commented 6 years ago

In my Ionic app, all types/node were imported to require and use unluff, however, getting error when execution reaches to extractor

Error: {"__zone_symbol__currentTask":{"type":"microTask","state":"notScheduled","source":"Promise.then","zone":"","cancelFn":null,"runCount":0}}

Code: import {} from "@ types/node" ;

let extractor = require('unfluff'); let extractData = extractor(content, 'en');