import

Read More at MDN DocsView Spec

Safe to Use

import is considered safe to use.

It’s supported by 93% of global browsers.

Browsers

ChromeSep 5, 2017v61.0.0
26%99%
There are no users of Chrome running a supported version.
SafariMar 27, 2017v10.1.0
5%96%
There are no users of Safari running a supported version.
EdgeOct 17, 2017v16.0.0
5%100%
100% of Edge users are running a supported version.
FirefoxMay 9, 2018v60.0.0
2%98%
There are no users of Firefox running a supported version.

Servers

Node.jsNov 21, 2019v13.2.0
Node.js supports this feature.
DenoMay 4, 2020v1.0.0
Deno supports this feature.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Sep 5, 2017 v61.0.0
26%99%
There are no users of Chrome running a supported version.
Sep 5, 2017 – Latest
v61.0.0+
26%99%

Full Support

Chrome Android
Sep 5, 2017 v61.0.0
36%100%
100% of Chrome Android users are running a supported version.
Sep 5, 2017 – Latest
v61.0.0+
36%100%

Full Support

Deno
May 4, 2020 v1.0.0
Deno supports this feature.
May 4, 2020 – Latest
v1.0.0+

Full Support

Edge
Oct 17, 2017 v16.0.0
5%100%
100% of Edge users are running a supported version.
Oct 17, 2017 – Latest
v16.0.0+
5%100%

Full Support

Firefox
May 9, 2018 v60.0.0
2%98%
There are no users of Firefox running a supported version.
May 9, 2018 – Latest
v60.0.0+
2%98%

Full Support

Firefox for Android
May 9, 2018 v60.0.0
Firefox for Android supports this feature.
May 9, 2018 – Latest
v60.0.0+

Full Support

Internet Explorer
Unsupported
Internet Explorer does not support this feature.

No Support

Node.js
Nov 21, 2019 v13.2.0
Node.js supports this feature.
Nov 21, 2019 – Latest
v13.2.0+

Full Support

Modules must either have a filename ending in .mjs, or the nearest parent package.json file must contain "type": "module". See Node's ECMAScript Modules documentation for more details.

Apr 23, 2019 – Nov 21, 2019
v12.0.0 – v13.2.0

This feature is behind the --experimental-modules runtime_flag

Modules must either have a filename ending in .mjs, or the nearest parent package.json file must contain "type": "module". See Node's ECMAScript Modules documentation for more details.

Sep 12, 2017 – Apr 23, 2019
v8.5.0 – v12.0.0

This feature is behind the --experimental-modules runtime_flag

Module filenames must end with .mjs, not .js. See Node's ECMAScript Modules documentation for more details.

 
Quest Browser
Unknown v5.0.0
Quest Browser supports this feature.
Unknown
v5.0.0+

Full Support

Opera
Sep 27, 2017 v48.0.0
1%98%
There are no users of Opera running a supported version.
Sep 27, 2017 – Latest
v48.0.0+
1%98%

Full Support

Opera Android
Feb 15, 2018 v45.0.0
Opera Android supports this feature.
Feb 15, 2018 – Latest
v45.0.0+

Full Support

Safari
Mar 27, 2017 v10.1.0
5%96%
There are no users of Safari running a supported version.
Mar 27, 2017 – Latest
v10.1.0+
5%96%

Full Support

Safari on iOS
Mar 27, 2017 v10.3.0
16%99%
There are no users of Safari on iOS running a supported version.
Mar 27, 2017 – Latest
v10.3.0+
16%99%

Full Support

Samsung Internet
Jul 18, 2018 v8.0.0
2%93%
There are no users of Samsung Internet running a supported version.
Jul 18, 2018 – Latest
v8.0.0+
2%93%

Full Support

WebView Android
Sep 5, 2017 v61.0.0
WebView Android supports this feature.
Sep 5, 2017 – Latest
v61.0.0+

Full Support

See Also

Contribute