npm.io
1.0.3 • Published 3 years ago

import2

Licence
MIT
Version
1.0.3
Deps
0
Size
2 kB
Vulns
0
Weekly
0
Stars
4

Import2

A dynamic import() function which can avoid transpiling to require() function.

It also can avoid unexpected bundling.

import import2 from "import2";
const fs = await import2("fs");

Keywords