Skip to content

TypeError: $(...).parsetable is not a function #3

@loretoparisi

Description

@loretoparisi
> cheerio=require("cheerio")
{ version: '0.10.8' }
> cheerioTableparser = require('cheerio-tableparser')
[Function]
> $ = cheerio.load("<table></table>");
{ _root: 
   { type: 'root',
     name: 'root',
     parent: null,
     prev: null,
     next: null,
     children: [ [Object] ] } }
> cheerioTableparser($);
undefined
> data = $("table").parsetable();
TypeError: $(...).parsetable is not a function
> 
$ node --version
v8.9.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions