Get list of all declared module imports (SystemJS)
<p>I'm using jspm and SystemJS to import ES2015 modules.</p>

<p>Is it possible to get a list of all of the imported modules in a project through the <code>System</code> object, or anywhere else? I can access my project-specific modules through <code>System._loader.moduleRecords</code>, but the modules that I've installed through jspm (e.g., <code>d3</code>, <code>jquery</code>) do not appear in this list. </p>

<p><code>System._loader.modules</code> contains a list of <em>all</em> modules, but unfortunately also includes a list of modules required to transpile my code and modules-loading packages.</p>

<p><strong><code>System._loader.moduleRecords</code></strong> (project modules)
<a href="https://i.stack.imgur.com/xJejz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/xJejz.png" alt="enter image description here"></a></p>

<p><strong><code>System._loader.modules</code></strong> (project modules, libraries, transpile packages)
<a href="https://i.stack.imgur.com/VO2NP.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/VO2NP.jpg" alt="enter image description here"></a></p>

<p><strong>I want only a list of <em>declared</em> imports, specifically, those that I've imported using <code>import x from 'x'</code>.</strong> This should include <em>both</em> project modules and libraries, but <em>not</em> babel/module-loading related modules. I'd like the solution to not involve filtering using regular expressions.</p>