Support and compatibility
Last updated
Was this helpful?
Last updated
Was this helpful?
Structure is built on top of modern JavaScript, using new features like , and . That being so, there are some things regarding compatibility you should consider when using Structure.
Node has only implemented all the used features at version 10, so to use Structure for a backend application you'll need Node 10 or later.
We have a UMD version for usage in browsers. Right now the tests are ran both in Node (using the original code) and in Electron (using the UMD version) and the whole test suite passes for both cases. Since we use modern JavaScript features inside the lib (like ), older browsers may not support it. Polyfilling them may be an option but it's not oficially supported.