-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
osme.geoJSON is not a function #16
Comments
Version [email protected] $>node -e "osme=require('osme'); console.log(osme);"
{ default:
{ setHost: [Function: setHost],
...
geoJSON: [Function: geoJSON],
$>node -e "osme=require('osme'); console.log(osme.geoJSON);"
undefined
$>node -e "osme=require('osme'); console.log(osme.default.geoJSON);"
[Function: geoJSON] |
I reckon - osme.default, as long as it’s es6 default export. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I try to execute an example, but it gives an error
The text was updated successfully, but these errors were encountered: