The modular version of Fluture no longer works with Node version 9, 10, and 11 using --experimental-modules
. In order to load the modular version into those runtimes, one has to use the esm
loader.
Furthermore, the modular code must now be "deep" imported from fluture/index.js
. That is, import 'fluture/index.js'
for EcmaScript modules, or require ('fluture')
for CommonJS modules.