bilalq / iex-api

Unofficial SDK for using the IEX API
MIT License
42 stars 13 forks source link

ES6 modules not supported in Node.js yet #5

Open ajbraus opened 6 years ago

ajbraus commented 6 years ago

node.js implementation should use ES5 modules still no?

CalMlynarczyk commented 5 years ago

It compiles to CommonJS module format. I just pulled down the package to test and it works fine in Node without any sort of transpilation.

Luxcium commented 5 years ago

I changed from "esnext" to "commonjs" in /tsconfig.json of my current project to fix the issue ... do I understand the probleme correctly ?