Closed aarongoldenthal closed 4 years ago
I'm facing the same problem, this is because code now is exporting a class with static methods, probably due to usage of Typescript. It should be exporting just only the methods. Typescript building is failling to me too.
I'm currently working on a fix for this issue.
I'm currently working on a fix for this issue.
Cool! :-D I have been reviewing and fixing some linting issues, I'm going to create a pull-request right now :-)
nice ... thx !!!
I've just created a mock since the spawned express server doesn't work in travis :-(
You have the pull-request at https://github.com/maugenst/tabletojson/pull/51 :-)
I changed the README.md to reflect the new api import.
I changed the README.md to reflect the new api import.
Good thing, thanks :-)
Running legacy code that previously worked with v1.2.0, e.g.
results in
TypeError: tabletojson.convert is not a function
. It appears in v2.0.0 there is no default export, only the Tabletojson property, so this code must be changed as follows:This does not appear to be intentional as none of the examples were updated.