<p dir="auto">I've put together a very simple preset for Node 5.0. I'm using this in production and will keep it closely tracked to Babel 6 releases. So far, it seems to be working well, and is chipped a few ms off my response times and in some cases, knocked a few seconds of gulp times by avoiding unnecessary transpilation / using Node 5 native features.</p>
<p dir="auto"><a href="https://www.npmjs.com/package/babel-preset-node5" rel="nofollow">https://www.npmjs.com/package/babel-preset-node5</a></p>
<p dir="auto">Have I missed anything obvious in "key features"? I've used <a href="https://kangax.github.io/compat-table/es6/#node5" rel="nofollow">this compatibility table</a></p>
<p dir="auto">Please, can anyone help me?</p>
<p dir="auto">I have this package: <a href="https://github.com/xbrain-dev/xbrain-validate">https://github.com/xbrain-dev/xbrain-validate</a></p>
<p dir="auto">When I install it in a react-native project the following error happens:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/Users/diegovieira/Sites/ConexaoClaroBrasilMobile/node_modules/xbrain-validate/dist/xbrain-validate.min.js: Couldn't find preset &quot;@babel/preset-env&quot; relative to directory &quot;/Users/diegovieira/Sites/ConexaoClaroBrasilMobile/node_modules/xbrain-validate&quot;"><pre class="notranslate"><code class="notranslate">/Users/diegovieira/Sites/ConexaoClaroBrasilMobile/node_modules/xbrain-validate/dist/xbrain-validate.min.js: Couldn't find preset "@babel/preset-env" relative to directory "/Users/diegovieira/Sites/ConexaoClaroBrasilMobile/node_modules/xbrain-validate"
</code></pre></div>