es6-module.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  1. {
  2. "title":"JavaScript modules via script tag",
  3. "description":"Loading JavaScript module scripts (aka ES6 modules) using `<script type=\"module\">` Includes support for the `nomodule` attribute.",
  4. "spec":"https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"https://strongloop.com/strongblog/an-introduction-to-javascript-es6-modules/",
  9. "title":"Intro to ES6 modules"
  10. },
  11. {
  12. "url":"https://blogs.windows.com/msedgedev/2016/05/17/es6-modules-and-beyond/",
  13. "title":"MS Edge blog post"
  14. },
  15. {
  16. "url":"https://hacks.mozilla.org/2015/08/es6-in-depth-modules/",
  17. "title":"Mozilla hacks article"
  18. },
  19. {
  20. "url":"https://bugzilla.mozilla.org/show_bug.cgi?id=568953",
  21. "title":"Firefox support bug"
  22. },
  23. {
  24. "url":"https://blog.hospodarets.com/native-ecmascript-modules-the-first-overview",
  25. "title":"Blog post: Native ECMAScript modules - the first overview"
  26. },
  27. {
  28. "url":"https://tc39.es/ecma262/#sec-modules",
  29. "title":"Counterpart ECMAScript specification for import/export syntax"
  30. },
  31. {
  32. "url":"https://html.spec.whatwg.org/multipage/scripting.html#attr-script-nomodule",
  33. "title":"Specification for nomodule attribute"
  34. },
  35. {
  36. "url":"https://hospodarets.com/native-ecmascript-modules-nomodule",
  37. "title":"Blog post on using nomodule"
  38. },
  39. {
  40. "url":"https://gist.github.com/jakub-g/5fc11af85a061ca29cc84892f1059fec",
  41. "title":"Will it double-fetch? Browser behavior with `module` / `nomodule` scripts"
  42. }
  43. ],
  44. "bugs":[
  45. {
  46. "description":"`nomodule` scripts are not executed in Edge, but they're still fetched"
  47. },
  48. {
  49. "description":"Edge 17+ fetches HTML-declared <script type='module'> twice"
  50. }
  51. ],
  52. "categories":[
  53. "JS"
  54. ],
  55. "stats":{
  56. "ie":{
  57. "5.5":"n",
  58. "6":"n",
  59. "7":"n",
  60. "8":"n",
  61. "9":"n",
  62. "10":"n",
  63. "11":"n"
  64. },
  65. "edge":{
  66. "12":"n",
  67. "13":"n",
  68. "14":"n",
  69. "15":"n d #1 #6",
  70. "16":"y #6",
  71. "17":"y #6",
  72. "18":"y #6",
  73. "79":"y",
  74. "80":"y",
  75. "81":"y",
  76. "83":"y",
  77. "84":"y",
  78. "85":"y",
  79. "86":"y",
  80. "87":"y",
  81. "88":"y",
  82. "89":"y",
  83. "90":"y",
  84. "91":"y",
  85. "92":"y",
  86. "93":"y",
  87. "94":"y",
  88. "95":"y",
  89. "96":"y",
  90. "97":"y",
  91. "98":"y",
  92. "99":"y",
  93. "100":"y",
  94. "101":"y",
  95. "102":"y",
  96. "103":"y",
  97. "104":"y",
  98. "105":"y",
  99. "106":"y",
  100. "107":"y",
  101. "108":"y",
  102. "109":"y",
  103. "110":"y"
  104. },
  105. "firefox":{
  106. "2":"n",
  107. "3":"n",
  108. "3.5":"n",
  109. "3.6":"n",
  110. "4":"n",
  111. "5":"n",
  112. "6":"n",
  113. "7":"n",
  114. "8":"n",
  115. "9":"n",
  116. "10":"n",
  117. "11":"n",
  118. "12":"n",
  119. "13":"n",
  120. "14":"n",
  121. "15":"n",
  122. "16":"n",
  123. "17":"n",
  124. "18":"n",
  125. "19":"n",
  126. "20":"n",
  127. "21":"n",
  128. "22":"n",
  129. "23":"n",
  130. "24":"n",
  131. "25":"n",
  132. "26":"n",
  133. "27":"n",
  134. "28":"n",
  135. "29":"n",
  136. "30":"n",
  137. "31":"n",
  138. "32":"n",
  139. "33":"n",
  140. "34":"n",
  141. "35":"n",
  142. "36":"n",
  143. "37":"n",
  144. "38":"n",
  145. "39":"n",
  146. "40":"n",
  147. "41":"n",
  148. "42":"n",
  149. "43":"n",
  150. "44":"n",
  151. "45":"n",
  152. "46":"n",
  153. "47":"n",
  154. "48":"n",
  155. "49":"n",
  156. "50":"n",
  157. "51":"n",
  158. "52":"n",
  159. "53":"n",
  160. "54":"n d #2",
  161. "55":"n d #2",
  162. "56":"n d #2",
  163. "57":"n d #2",
  164. "58":"n d #2",
  165. "59":"n d #2",
  166. "60":"y",
  167. "61":"y",
  168. "62":"y",
  169. "63":"y",
  170. "64":"y",
  171. "65":"y",
  172. "66":"y",
  173. "67":"y",
  174. "68":"y",
  175. "69":"y",
  176. "70":"y",
  177. "71":"y",
  178. "72":"y",
  179. "73":"y",
  180. "74":"y",
  181. "75":"y",
  182. "76":"y",
  183. "77":"y",
  184. "78":"y",
  185. "79":"y",
  186. "80":"y",
  187. "81":"y",
  188. "82":"y",
  189. "83":"y",
  190. "84":"y",
  191. "85":"y",
  192. "86":"y",
  193. "87":"y",
  194. "88":"y",
  195. "89":"y",
  196. "90":"y",
  197. "91":"y",
  198. "92":"y",
  199. "93":"y",
  200. "94":"y",
  201. "95":"y",
  202. "96":"y",
  203. "97":"y",
  204. "98":"y",
  205. "99":"y",
  206. "100":"y",
  207. "101":"y",
  208. "102":"y",
  209. "103":"y",
  210. "104":"y",
  211. "105":"y",
  212. "106":"y",
  213. "107":"y",
  214. "108":"y",
  215. "109":"y",
  216. "110":"y",
  217. "111":"y",
  218. "112":"y"
  219. },
  220. "chrome":{
  221. "4":"n",
  222. "5":"n",
  223. "6":"n",
  224. "7":"n",
  225. "8":"n",
  226. "9":"n",
  227. "10":"n",
  228. "11":"n",
  229. "12":"n",
  230. "13":"n",
  231. "14":"n",
  232. "15":"n",
  233. "16":"n",
  234. "17":"n",
  235. "18":"n",
  236. "19":"n",
  237. "20":"n",
  238. "21":"n",
  239. "22":"n",
  240. "23":"n",
  241. "24":"n",
  242. "25":"n",
  243. "26":"n",
  244. "27":"n",
  245. "28":"n",
  246. "29":"n",
  247. "30":"n",
  248. "31":"n",
  249. "32":"n",
  250. "33":"n",
  251. "34":"n",
  252. "35":"n",
  253. "36":"n",
  254. "37":"n",
  255. "38":"n",
  256. "39":"n",
  257. "40":"n",
  258. "41":"n",
  259. "42":"n",
  260. "43":"n",
  261. "44":"n",
  262. "45":"n",
  263. "46":"n",
  264. "47":"n",
  265. "48":"n",
  266. "49":"n",
  267. "50":"n",
  268. "51":"n",
  269. "52":"n",
  270. "53":"n",
  271. "54":"n",
  272. "55":"n",
  273. "56":"n",
  274. "57":"n",
  275. "58":"n",
  276. "59":"n",
  277. "60":"n d #1",
  278. "61":"y",
  279. "62":"y",
  280. "63":"y",
  281. "64":"y",
  282. "65":"y",
  283. "66":"y",
  284. "67":"y",
  285. "68":"y",
  286. "69":"y",
  287. "70":"y",
  288. "71":"y",
  289. "72":"y",
  290. "73":"y",
  291. "74":"y",
  292. "75":"y",
  293. "76":"y",
  294. "77":"y",
  295. "78":"y",
  296. "79":"y",
  297. "80":"y",
  298. "81":"y",
  299. "83":"y",
  300. "84":"y",
  301. "85":"y",
  302. "86":"y",
  303. "87":"y",
  304. "88":"y",
  305. "89":"y",
  306. "90":"y",
  307. "91":"y",
  308. "92":"y",
  309. "93":"y",
  310. "94":"y",
  311. "95":"y",
  312. "96":"y",
  313. "97":"y",
  314. "98":"y",
  315. "99":"y",
  316. "100":"y",
  317. "101":"y",
  318. "102":"y",
  319. "103":"y",
  320. "104":"y",
  321. "105":"y",
  322. "106":"y",
  323. "107":"y",
  324. "108":"y",
  325. "109":"y",
  326. "110":"y",
  327. "111":"y",
  328. "112":"y",
  329. "113":"y"
  330. },
  331. "safari":{
  332. "3.1":"n",
  333. "3.2":"n",
  334. "4":"n",
  335. "5":"n",
  336. "5.1":"n",
  337. "6":"n",
  338. "6.1":"n",
  339. "7":"n",
  340. "7.1":"n",
  341. "8":"n",
  342. "9":"n",
  343. "9.1":"n",
  344. "10":"n",
  345. "10.1":"a #4 #5",
  346. "11":"y",
  347. "11.1":"y",
  348. "12":"y",
  349. "12.1":"y",
  350. "13":"y",
  351. "13.1":"y",
  352. "14":"y",
  353. "14.1":"y",
  354. "15":"y",
  355. "15.1":"y",
  356. "15.2-15.3":"y",
  357. "15.4":"y",
  358. "15.5":"y",
  359. "15.6":"y",
  360. "16.0":"y",
  361. "16.1":"y",
  362. "16.2":"y",
  363. "16.3":"y",
  364. "16.4":"y",
  365. "TP":"y"
  366. },
  367. "opera":{
  368. "9":"n",
  369. "9.5-9.6":"n",
  370. "10.0-10.1":"n",
  371. "10.5":"n",
  372. "10.6":"n",
  373. "11":"n",
  374. "11.1":"n",
  375. "11.5":"n",
  376. "11.6":"n",
  377. "12":"n",
  378. "12.1":"n",
  379. "15":"n",
  380. "16":"n",
  381. "17":"n",
  382. "18":"n",
  383. "19":"n",
  384. "20":"n",
  385. "21":"n",
  386. "22":"n",
  387. "23":"n",
  388. "24":"n",
  389. "25":"n",
  390. "26":"n",
  391. "27":"n",
  392. "28":"n",
  393. "29":"n",
  394. "30":"n",
  395. "31":"n",
  396. "32":"n",
  397. "33":"n",
  398. "34":"n",
  399. "35":"n",
  400. "36":"n",
  401. "37":"n",
  402. "38":"n",
  403. "39":"n",
  404. "40":"n",
  405. "41":"n",
  406. "42":"n",
  407. "43":"n",
  408. "44":"n",
  409. "45":"n",
  410. "46":"n",
  411. "47":"n d #1",
  412. "48":"y",
  413. "49":"y",
  414. "50":"y",
  415. "51":"y",
  416. "52":"y",
  417. "53":"y",
  418. "54":"y",
  419. "55":"y",
  420. "56":"y",
  421. "57":"y",
  422. "58":"y",
  423. "60":"y",
  424. "62":"y",
  425. "63":"y",
  426. "64":"y",
  427. "65":"y",
  428. "66":"y",
  429. "67":"y",
  430. "68":"y",
  431. "69":"y",
  432. "70":"y",
  433. "71":"y",
  434. "72":"y",
  435. "73":"y",
  436. "74":"y",
  437. "75":"y",
  438. "76":"y",
  439. "77":"y",
  440. "78":"y",
  441. "79":"y",
  442. "80":"y",
  443. "81":"y",
  444. "82":"y",
  445. "83":"y",
  446. "84":"y",
  447. "85":"y",
  448. "86":"y",
  449. "87":"y",
  450. "88":"y",
  451. "89":"y",
  452. "90":"y",
  453. "91":"y",
  454. "92":"y",
  455. "93":"y",
  456. "94":"y",
  457. "95":"y"
  458. },
  459. "ios_saf":{
  460. "3.2":"n",
  461. "4.0-4.1":"n",
  462. "4.2-4.3":"n",
  463. "5.0-5.1":"n",
  464. "6.0-6.1":"n",
  465. "7.0-7.1":"n",
  466. "8":"n",
  467. "8.1-8.4":"n",
  468. "9.0-9.2":"n",
  469. "9.3":"n",
  470. "10.0-10.2":"n",
  471. "10.3":"a #4 #5",
  472. "11.0-11.2":"y",
  473. "11.3-11.4":"y",
  474. "12.0-12.1":"y",
  475. "12.2-12.5":"y",
  476. "13.0-13.1":"y",
  477. "13.2":"y",
  478. "13.3":"y",
  479. "13.4-13.7":"y",
  480. "14.0-14.4":"y",
  481. "14.5-14.8":"y",
  482. "15.0-15.1":"y",
  483. "15.2-15.3":"y",
  484. "15.4":"y",
  485. "15.5":"y",
  486. "15.6":"y",
  487. "16.0":"y",
  488. "16.1":"y",
  489. "16.2":"y",
  490. "16.3":"y",
  491. "16.4":"y"
  492. },
  493. "op_mini":{
  494. "all":"n"
  495. },
  496. "android":{
  497. "2.1":"n",
  498. "2.2":"n",
  499. "2.3":"n",
  500. "3":"n",
  501. "4":"n",
  502. "4.1":"n",
  503. "4.2-4.3":"n",
  504. "4.4":"n",
  505. "4.4.3-4.4.4":"n",
  506. "109":"y"
  507. },
  508. "bb":{
  509. "7":"n",
  510. "10":"n"
  511. },
  512. "op_mob":{
  513. "10":"n",
  514. "11":"n",
  515. "11.1":"n",
  516. "11.5":"n",
  517. "12":"n",
  518. "12.1":"n",
  519. "73":"y"
  520. },
  521. "and_chr":{
  522. "110":"y"
  523. },
  524. "and_ff":{
  525. "110":"y"
  526. },
  527. "ie_mob":{
  528. "10":"n",
  529. "11":"n"
  530. },
  531. "and_uc":{
  532. "13.4":"y"
  533. },
  534. "samsung":{
  535. "4":"n",
  536. "5.0-5.4":"n",
  537. "6.2-6.4":"n",
  538. "7.2-7.4":"n",
  539. "8.2":"y",
  540. "9.2":"y",
  541. "10.1":"y",
  542. "11.1-11.2":"y",
  543. "12.0":"y",
  544. "13.0":"y",
  545. "14.0":"y",
  546. "15.0":"y",
  547. "16.0":"y",
  548. "17.0":"y",
  549. "18.0":"y",
  550. "19.0":"y",
  551. "20":"y"
  552. },
  553. "and_qq":{
  554. "13.1":"y"
  555. },
  556. "baidu":{
  557. "13.18":"y"
  558. },
  559. "kaios":{
  560. "2.5":"n",
  561. "3.0-3.1":"y"
  562. }
  563. },
  564. "notes":"",
  565. "notes_by_num":{
  566. "1":"Support can be enabled via `about:flags`",
  567. "2":"Support can be enabled via `about:config`",
  568. "3":"Support can be enabled via the `experimental-web-platform-features` flag",
  569. "4":"Does not support the `nomodule` attribute",
  570. "5":"A [polyfill is available](https://gist.github.com/samthor/64b114e4a4f539915a95b91ffd340acc) for Safari 10.1/iOS Safari 10.3",
  571. "6":"`nomodule` scripts are not executed, but they're still fetched"
  572. },
  573. "usage_perc_y":95.33,
  574. "usage_perc_a":0.11,
  575. "ucprefix":false,
  576. "parent":"",
  577. "keywords":"es6 module,esmodules,module,import,export,nomodule",
  578. "ie_id":"moduleses6",
  579. "chrome_id":"5365692190687232",
  580. "firefox_id":"",
  581. "webkit_id":"feature-modules",
  582. "shown":true
  583. }