{"_id":"dimport","_rev":"8-e44bff5f9aa4b54b556a53023daa8a2b","name":"dimport","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"dimport","version":"0.0.0","repository":{"type":"git","url":"git+https://github.com/lukeed/dimport.git"},"description":"WIP","module":"dist/dimport.mjs","unpkg":"dist/dimport.min.js","main":"dist/dimport.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"engines":{"node":">=6"},"scripts":{"build":"bundt","test":"tape test/*.js | tap-spec"},"keywords":[],"devDependencies":{"bundt":"^0.3.0","tap-spec":"^5.0.0","tape":"^4.10.1"},"gitHead":"485376b4d7acde2eaae91be9406dfbc2a08567e7","bugs":{"url":"https://github.com/lukeed/dimport/issues"},"homepage":"https://github.com/lukeed/dimport#readme","_id":"dimport@0.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"integrity":"sha512-pDiSTc+alf4XlTaMFip+lm3IQMaHLqoxsO3O147/4y5PJunAKEpPdZQE2rklWCnBovgYz+M5YdbHks3HDGDXgw==","shasum":"4e6df3eaec1b347e97edb3fc25f26077a53c2ffd","tarball":"https://registry.npmjs.org/dimport/-/dimport-0.0.0.tgz","fileCount":3,"unpackedSize":3353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpADzCRA9TVsSAnZWagAApgMQAI8eCKQGQSAryyie6MyT\nKt4wNsvh8Ar2AUL//08i1vVX98iExMouyEikLCzDb+LOPMNfEZKzuDBmQC6o\nhf190LL+b2X8BJ0h8fSLA+If7nMIVE850Yc4Uv5QYDLt8ZkDBLYtlE8QYxla\ni8PcjRZxoEdtg+XNS1s//JyTkGYGNHn8wyJA3O5Mpxgi1rW3tQo85t9s2rK5\nya58eV2K1jZbdEUnxPAUl/FJr8jM3rc4vgkdTEk6ZIYqbNFuWGroi9gDCxM2\nSc2JzZpjfeNTKK0RuIFrLd1eD097TmRSh0gm596F1NaLBlmUAYNCvSUGIatP\nbDEZz1iR882A46C7kAYeXw5aLTEJc/Gq8JPUfo74mKHcBP6DUcsIWsYKbBOU\nvrxjZ6RS0RoH9AWQ0Qa2FGs+YrZyTMR7PVr7xshAgS5PBVcYVvXdraAod5JH\nBmK2MFw+Pkab48mEbtuUyf7pRITyNsS/Jgtn9ykD6hfSzsMGbnBXPEguYKld\n+Q85mGbYddIHUPy9Yd4DGQgKKnbAt5rYmDvAVFoQPWaeclROX4rCma2XKo4c\nZP11VXpcd5xrNr2B19MU60IGX8pjin+VJK7YUD8PK2wX+hxY/asNWvq+iMSp\nBbKa4R50Ys7BVT8LvyadPY1ZRCULYBVi4j/5UGleqPipVR3OuEen7zbgHUA4\nJI6X\r\n=W86y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDavQn0f3OMKpjX0JGeEU1P5//jHdhIuWmJ6LdQf0V5MgIgNtq16N2hVK7C9383jJwsWdkQ8ZEqrxnhFVxlxUy2FaA="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dimport_0.0.0_1554252018439_0.35903809243119045"},"_hasShrinkwrap":false},"0.1.0":{"name":"dimport","version":"0.1.0","repository":{"type":"git","url":"git+https://github.com/lukeed/dimport.git"},"description":"WIP","umd:main":"dist/index.min.js","module":"dist/index.mjs","main":"dist/index.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"pretest":"npm run build","prebuild":"rm -rf nomodule dist","build":"npm run -s build:nomodule && npm run -s build:module","build:module":"microbundle src/index.js --name dimport --no-sourcemap","build:nomodule":"microbundle src/nomodule.js --name dimport --no-sourcemap && mv dist nomodule","test":"tape test/*.js | tap-spec"},"dependencies":{"rewrite-imports":"^2.0.3"},"devDependencies":{"microbundle":"^0.4.3","tap-spec":"^4.1.2","tape":"^4.8.0"},"keywords":["esm","dynamic","dynamic-import","imports","import","module"],"gitHead":"5b710a16bd6adfd539fdd335e45e0e40d31e6ac6","bugs":{"url":"https://github.com/lukeed/dimport/issues"},"homepage":"https://github.com/lukeed/dimport#readme","_id":"dimport@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"integrity":"sha512-lbFrUIAkOv7POyoVDY8mSa1nd29zxUOxjC+X6/fJxsKLYbQEIsRnW/0GJeTZm1hAhwKMyWrWDKRyUFiDWrEgiw==","shasum":"45bb78318499288ed8ede5f76be80982d55f5e35","tarball":"https://registry.npmjs.org/dimport/-/dimport-0.1.0.tgz","fileCount":9,"unpackedSize":12210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp5wfCRA9TVsSAnZWagAAKTkP/iw8hYNeP1f7/biKmWYw\n551mxE93T17PEodcFfzxTre3rgJ6MlhWrBtei9EW1GcjeOGA6whi1X7Bskik\nPqOIYSFKd1lG9gYe0y3FF3GB3M+z2ohtqayn4PXDw2zc7qVYdFHm6DUM3iYq\nWL40uNHmg5pB67BZrs46JNQcX+ofk0NIvgr0XQm03Q80hIRzvLTnCw7Gd8d2\nKRcIBzALX/Cg8PpSagiqZAiepM0Xp+mGjy767dv9PJSD3j6dOcIGLGqyEGez\nQaCBZsxLXRQqbmq9msv8tWOPfY1cl8UzrPBMvI1rzxf1ZRoNhOAsLm2oEi1f\nSt4Y6OXBhlyxGT+ENeRoMhFnGRlhebetyKtCP4os8K7LLQKaneDoARIoTrCL\n0ieUm4PExU75obkOE10R4bsVVAJjC1N9VUpAMgty5SNOaLfGLCpDfFTzMb9I\nqAoAmHlRcWFwRZBhfIc5ByI4VUpA+3dblcbwmkP6X3ctvUaURdD+NHvkGvkS\nlWUdftH3g2/pwRPCkaNvqMIkIctqkv/bOLRK4m58fc3YrPu3dQkYxub46YH9\nGuaoBUofYsQPex4dR4DuhpPnZZbbEIFkaRWaCAjlK9ZudGTTfV5Jt2FaaTep\n+Q7egTenyOXbhXScBaOvwZu3fXjFnsebpyxlgWuyac85JkKbsNHMT8shZ+jE\nABAT\r\n=iR4J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCegHmEVyF3VNL2l+E8YOOr2izGisvjMhsUsvudK8K0DgIhAOZt67Mym2VchZ4Df4RZINhNB5qclTRLnT6GTqD2lc5c"}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dimport_0.1.0_1554488350249_0.9548244534914698"},"_hasShrinkwrap":false},"0.1.1":{"name":"dimport","version":"0.1.1","repository":{"type":"git","url":"git+https://github.com/lukeed/dimport.git"},"description":"WIP","unpkg":"dist/index.min.js","umd:main":"dist/index.min.js","module":"dist/index.mjs","main":"dist/index.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"pretest":"npm run build","prebuild":"rm -rf nomodule dist","postbuild":"mv nomodule/index.min.js nomodule/index.js","build":"npm run -s build:nomodule && npm run -s build:module","build:module":"microbundle src/index.js --name dimport --no-sourcemap","build:nomodule":"microbundle src/nomodule.js --name dimport --no-sourcemap && mv dist nomodule","test":"tape test/*.js | tap-spec"},"dependencies":{"rewrite-imports":"^2.0.3"},"devDependencies":{"microbundle":"^0.4.3","tap-spec":"^4.1.2","tape":"^4.8.0"},"keywords":["esm","dynamic","dynamic-import","imports","import","module"],"gitHead":"6b0d66e4366445b1ea489b4df842a54ca4d92c97","bugs":{"url":"https://github.com/lukeed/dimport/issues"},"homepage":"https://github.com/lukeed/dimport#readme","_id":"dimport@0.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"integrity":"sha512-V6EUtPpR2Er76N/2G696eLOqYhQ3+5Zhc+HqPMZ3bp1h9vnzI6EKKcUpjiMkM6tHGFN8vpT6SLpV4edm7vu3Gg==","shasum":"0b84f040d4d66106d61c6094fdd0cfe1fe1ba40f","tarball":"https://registry.npmjs.org/dimport/-/dimport-0.1.1.tgz","fileCount":8,"unpackedSize":10543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp55RCRA9TVsSAnZWagAAuPkP+wRbjcklu4ZJwcqcQ145\nWBPajThVaVSg7qJij3qXDw3T5rKVlwCDcn0AY2ap9Hui8flJY7Yw2Pr7Lu0E\nle0C7VLsfKai1D4+p7WJluLAsxowWhooNBnh1qHpLYsvnCfQY3Rz2rqDkTjM\ngHMX4gynnd0oCI4EtXdlStvgZ1oZec0kj0Ru3LsbIgJzcrDSTlQ2uIqoCuF8\nEJL7uvzsq5Vnc9UaQzD4/NgiO5QnFlT8ZFnExPafjol3yHwoBf2Yaa9w6KOB\nqcQG+S2bTK0zizBBnGacgs+HWq+swXsrz944v0DhOs415HnYzSnQcOZzMUB+\n0wax67/IL1uSXohRIWzPJjPQcX+8DwLS/XbOhq6XIeVn/B7Tt3cx7I5Gg08h\nFO5oQKKIwQlwyKVNddATZcYgw0u69oH9+cVmGtZ4qE2qckf/hu0ec1V2yZa2\nZuF0Snlf+d8bS4UQbweq7DKyAcuh4PRm9wq0kESLsgk/bEzrvYXW3u7wmAhA\nmEkp8TC3LXleoOaaNUDV/b35C4R5jvyP81ipTZT7BOpSZQCA1Svub6KK/ifK\nKEb6OB+5hmCg/TK2RnnkC3tMw4F/kUe40ys/4pxAKw8hVbZeB7qEHaSfO8+j\nsCaR2opUvojWKNmgNnliiR9sO8VoWgnQrX/E3dnCzSG/Bnrg7XC4GDrNDbkr\ney7q\r\n=3tD4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFKsLjaK5A7sTjUREHkpcq4iV8Aeb6NJwQAsVBI6lEfeAiEAxqi+x8KOV4eC3KmqtYVnN4A6+mLg49QLvQjG3Ssx5wI="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dimport_0.1.1_1554488912497_0.08250534408543109"},"_hasShrinkwrap":false},"0.1.2":{"name":"dimport","version":"0.1.2","repository":{"type":"git","url":"git+https://github.com/lukeed/dimport.git"},"description":"WIP","unpkg":"dist/index.min.js","umd:main":"dist/index.min.js","module":"dist/index.mjs","main":"dist/index.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"rm -rf nomodule legacy dist && node bin","test":"eslint src bin"},"dependencies":{"rewrite-imports":"^2.0.3"},"devDependencies":{"bundt":"^0.4.0","eslint":"^5.16.0"},"keywords":["esm","dynamic","dynamic-import","imports","import","module"],"gitHead":"09017dfdae2b5f91ee6c3e44754305c3d92e0a8c","bugs":{"url":"https://github.com/lukeed/dimport/issues"},"homepage":"https://github.com/lukeed/dimport#readme","_id":"dimport@0.1.2","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"integrity":"sha512-w8Mp78n/6JM94jXUv/q+cuwGnkQzVXeF9+gTIvQWuaQDoJiUK5t4G73QoiztqBfO1oJDzY740gZDHhVPTLn7cw==","shasum":"dc2257caabb2e00c1f128de211478566b696a073","tarball":"https://registry.npmjs.org/dimport/-/dimport-0.1.2.tgz","fileCount":10,"unpackedSize":17022,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrTrnCRA9TVsSAnZWagAA+gcP/A1cTTFvmKif3Qs1Na3V\nYQRJOhEEVMF80sP5oYZCPW5ufPopw7QmKNe/fzrvWa+pWDeM6VeLHphRUNH4\nDd9g7WHgzMnNLI8JYW176VcByTUeNC9x0E8Ksh+0E1eYkZU1kGDezL1yrSmh\ne/CrDKOfKJoopqvWwKoaPUFNTV7i78w2eo9xBgeeDY5+Q1hX+06gdVh05QTY\nzrT76Cg1d9DrgtmznYafVeLxa/hsrvr9TJyS1JCS074U57PSifOwohvklDOH\nVadvlbLTKaC2mJCFr5OUm+G2N7vfhNXHlHKiNJCR0XPbJkvgYdIGlTcBUWag\n6reilJqHZeW+4vFq3yMqvk1Mr9oskJVCcizCFEmRLbOal9G4HtTapDAXkmOu\nzvHGm4Fk8IxxHVmjTYv2A3Cn9+9K0Al7DAf84Y2SgyztfQULDA27jNiSppvN\nCi+5hV+wD1fFPWlKBdktYik9LHImi4KpgzWfDQ6Axh83jJ/vjG8/LFyznhfY\nNWXrjHS2FSCF78ZhchbZtKdSWRczsfkrVnvy/xkSFoIgjK8OX1YxtOk5CFga\nHNUgEtHIFMGR5JKB9rAr+tQF2DfG0XFKklfVc74IuZjMrYOI/VmG7s0mfxAR\niCd5wiAf/PkXOCkmIQKdjrtQbXsBIhPc3sWWi/+x7/1IxLDbyx716XKnJ4uc\nGm3l\r\n=vyth\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDS8MXXwtz3LioVyjfQKpH6B5hqLe+GfsrltVHzFB+Q0QIhAMRHv40sdi/iSBsfa7NBg7yfQLNGiPipkrTzUhNXFXNa"}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dimport_0.1.2_1554856678778_0.7435191207748895"},"_hasShrinkwrap":false},"0.1.3":{"name":"dimport","version":"0.1.3","repository":{"type":"git","url":"git+https://github.com/lukeed/dimport.git"},"description":"WIP","unpkg":"dist/index.min.js","umd:main":"dist/index.min.js","module":"dist/index.mjs","main":"dist/index.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"rm -rf nomodule legacy dist && node bin","test":"eslint src bin"},"dependencies":{"rewrite-imports":"^2.0.3"},"devDependencies":{"bundt":"^0.4.0","eslint":"^5.16.0"},"keywords":["esm","dynamic","dynamic-import","imports","import","module"],"gitHead":"0a1f935250cc75b4e78a3ca0548423bf69a3a5b8","bugs":{"url":"https://github.com/lukeed/dimport/issues"},"homepage":"https://github.com/lukeed/dimport#readme","_id":"dimport@0.1.3","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"integrity":"sha512-5A7jexDmK7hxBLTc0pvg1K32huvH47aa8XiJ7TnyA3JDsn8x+f9GG1U9KvIUD3K9aAGCQNhTKztRegwoAO471Q==","shasum":"dd237ba7e457e89dda361510c7c1358f2f3af596","tarball":"https://registry.npmjs.org/dimport/-/dimport-0.1.3.tgz","fileCount":10,"unpackedSize":17028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrUK3CRA9TVsSAnZWagAAKxUQAIglkx0SSCwqNZUD0JYb\nU6lwWe86cqjYI2pfpsVKv3+YJuqGdvmL7qSE8GZ3WwFCyvfpezWI+4NDPHR/\nC9JerBJ3LbO2Pr2T6npDYD21NUNxHq+hxD0VfldGkXGKME2Y5qheLDA4dY1y\nE+19xUErY4t2OQHPte10C0VfXSDZQYBwix8bvjwJooNwdDP2ydFJh7lHeUdx\nZiirh1Z0VLgz1J/eiajJZ41yEXfhytwLY3sYgzibblMSZ8nZ/Qhebw/2upv+\nMg6WwwdUC/t5DDIVTKCPJ1k8M6MGBOvEHhX5An5Erd+xuuAqXFOqnQW4gUo/\nYY3r7QEUICvt5mj7iYemuUUp+qaElri7fo8aMqbQ/mE/WiFdXjxpi6DzgD/9\nXgNkdgXvKV9ofI7t7aVszi/U0bPhHCr6flqNdaN9rA2x2A2swSA+/ij6nIfM\nLDNO84mLFshksGyHoTYyMuorFoikq/uutir2u9uNcXPAJKybTcGM9jTqqB44\nSx9cCHiEChLZ2xHuX6WsJaZYe+K/280wKxsAiqu9RfYQILm+EG3iaSsr6PTS\nh4p4ZnrwxyWLJrOo5FKBLaQPlxIDF/DBcg2fVA0es7N3PoxRYkzywud2INMS\nl0DA+JIlghlqm3KSMBiv+LS0tuPhmHpMFTt5qmlFWni0c/mS3hwUMR7ZgDlO\nNg2o\r\n=JUdi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHDz6OlhCELA/uhKoyK9kUI4s+Ky9GD4JluSBt8GntfgIhALIzKffijb/DMH7YRVC6wAlEUt6pMNLr8QCP8QsiXiRr"}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dimport_0.1.3_1554858678620_0.7877172525773528"},"_hasShrinkwrap":false},"0.1.4":{"name":"dimport","version":"0.1.4","repository":{"type":"git","url":"git+https://github.com/lukeed/dimport.git"},"description":"WIP","unpkg":"dist/index.min.js","umd:main":"dist/index.min.js","module":"dist/index.mjs","main":"dist/index.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"rm -rf nomodule legacy dist && node bin","test":"eslint src bin"},"dependencies":{"rewrite-imports":"^2.0.3"},"devDependencies":{"bundt":"^0.4.0","eslint":"^5.16.0"},"keywords":["esm","dynamic","dynamic-import","imports","import","module"],"gitHead":"393d3e8e59ef36488917316b8010e60d33930ffc","bugs":{"url":"https://github.com/lukeed/dimport/issues"},"homepage":"https://github.com/lukeed/dimport#readme","_id":"dimport@0.1.4","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"integrity":"sha512-5ydC8BhDsc6/Lo9TUwPB/UNyMHrIL/FrwdKXok7DXWgg5sCNO2EaCk3eIfA4orHTT1jw7la77gjOkrAKGTttpA==","shasum":"8f759e3509c7f9e4f30f50dfaeb73465d1895d49","tarball":"https://registry.npmjs.org/dimport/-/dimport-0.1.4.tgz","fileCount":10,"unpackedSize":17082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrjDsCRA9TVsSAnZWagAAbxoP/3qsM7el7dK/sggS/js4\nSha0KXQzPqo0/GOLSdOtFJ6/576M8ovVV2Zi40i7TliQ/y0Sm6RokjAR3yjJ\nsyf73w7mEYsX0BEkWdG7y54bBqZO0TJgtuKlV3tr8DxlBjyhezEUYnarL0LL\nDghk2nAoP+2b/BZVR530QwT4V4LE082KOXNNJaRgaoHVulOENSS70HisRLkS\nzxLw7qOP57ZAgZt1uYNOkdxm/IoiKVofFXFLnmD0GIY7G14vAsCuLS54hQYJ\n9CPrquEeTNMaEAApvccUZ/oiFrwebxcmST+aICTMYuDkRJXpkmJ1yt4e8Ds0\noywZZt3pkoEq6AxbuTBlZVdvAGS+b2JT6aEMmnMTHi8E5EhvocCbP4/XpivY\nRwYOTP8PV2fdEa6IH7+DMXsouiyTc3eJJ8TB9szl/fUj+Pp2fcHFG93otg+0\n0n3/LPZloH7DCeqEN2dqM/cGD7p4urpgUfwLLdeHoYA/BRw4U50h9aRtFE/j\nuibUVTyCjYE+P7Jaf5C9T735jBiWHPFq2wthwrjngvVfE/Cbgd8iGAEuYWjs\n0umaaY4xsidT7gH5jvVIdv//4ftdwUN6hTwSc4dUGiSBXFsjAtPE2/fCro6+\npgk8/ZfRiHrP4tPD0IMgjW3W1XsJnc0jXvA+nR/unuvP5DrCffFy8TLbCvOi\nrWrQ\r\n=Vf67\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGB7yrpEoOxHASekl1b4nu0R+fZPhvuHabQ2IFBZvd1AiAsbpFqx6m/+RKG5eT8C2H++1p6tgj93aGSFYz1oeTMYQ=="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dimport_0.1.4_1554919658742_0.45794889123804317"},"_hasShrinkwrap":false},"0.1.5":{"name":"dimport","version":"0.1.5","repository":{"type":"git","url":"git+https://github.com/lukeed/dimport.git"},"description":"WIP","unpkg":"dist/index.min.js","umd:main":"dist/index.min.js","module":"dist/index.mjs","main":"dist/index.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"rm -rf nomodule legacy dist && node bin","test":"eslint src bin"},"dependencies":{"rewrite-imports":"^2.0.3"},"devDependencies":{"eslint":"^5.16.0","microbundle":"^0.11.0"},"keywords":["esm","dynamic","dynamic-import","imports","import","module"],"gitHead":"66fc493c55f5ecbf084bd9cf858686517103ee9a","bugs":{"url":"https://github.com/lukeed/dimport/issues"},"homepage":"https://github.com/lukeed/dimport#readme","_id":"dimport@0.1.5","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"integrity":"sha512-+U2dsxEqY2g1znpWYnt7ig4wzJJguReWLH4g4ZLB6ZbC7y1CHRdgexMtyuWRxh7lYM5c2CgtGrMIiniyjE578Q==","shasum":"897cdec4fcbdf045f2191d1b68a73eb9873ad9b6","tarball":"https://registry.npmjs.org/dimport/-/dimport-0.1.5.tgz","fileCount":10,"unpackedSize":16592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrj+wCRA9TVsSAnZWagAAyDMP/RphcTmi3jNMajCgQ0in\nYrB2ghDLbL/EgefpbiYlwjFHBUF0pTrfgJpsxQ8gDskXV8HvTO/BlmlUrV8S\nyCPfMo3wKc9suQlbXTVbHxViCRXaVkHuEVgC9k8pstOHgHWOrhVhJ5XZzufa\nAk2rJ5GmzsXk4R0TAVOdTXSlMYhs4V41k5uFueMrXMnUMZqs+tlckPleIqY7\nROXK34/8BgrI8T10qaWYx8/VI/Em03WV6P2VpiVB5PEeOIdLN99wih1fOvA4\nkXF9mlDqX4UAw17eq+NBfPUYBL7iB3C9QYewJvwAf0WS76CYghsxJjanfYZe\nq3Ri4UK4yY0ocmS/dpEytgFlJe8lPzKoAZ6zEEgewDSmuYixblDxvz3XZgYc\nf/mRh2gFxwsXDuOaSBt/t10XXSsJuz15lba15aCyRl5lm428FEb9oAri2yeY\nJFB7/Bi1GP2YEmMX61yD7xQEAmNLm26LdtQqdL89O8m865yq1Cz0663uaU+/\n8SpAPPAjOEqoeRbAAOhPhh5mSXYGRv5dnT4Tf4PIJeM/+pqJidmx9V2NSu2A\nSuA9sNkDk8VDKtOqGFP84hzw4V9ZUX5BlTkJ0BmhzcjgRQYQ9ytNFPmbsl3l\n9MB9SJe+1G26VjZq7w78U0T4ymHxH4Jc2ALzVsPyAs7Q2GAS476uOPgIaK8p\nlzAn\r\n=Bk30\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6q7sHiN+Q9qryK+z6k1L22OuR8PJ0hJXS+WJ3r8ECmQIgdh8oRhOUeYoMhgX2NbEN5EEYwvXqjRAtoTAyR5rFhLk="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dimport_0.1.5_1554923439874_0.19094974013710608"},"_hasShrinkwrap":false},"1.0.0":{"name":"dimport","version":"1.0.0","repository":{"type":"git","url":"git+https://github.com/lukeed/dimport.git"},"description":"Run ES Module syntax in any browser – even IE!","unpkg":"dist/index.min.js","umd:main":"dist/index.min.js","module":"dist/index.mjs","main":"dist/index.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"scripts":{"build":"rm -rf nomodule legacy dist && node bin","test":"eslint src bin"},"dependencies":{"rewrite-imports":"^2.0.3"},"devDependencies":{"eslint":"^5.16.0","microbundle":"^0.11.0"},"keywords":["esm","dynamic","dynamic-import","polyfill","imports","import","module"],"gitHead":"ad364ebb37302c586a62ef00bce95f2feb759286","bugs":{"url":"https://github.com/lukeed/dimport/issues"},"homepage":"https://github.com/lukeed/dimport#readme","_id":"dimport@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"integrity":"sha512-r5Cb8jvJ9YOTKQje2wrD6ncjpyDM4l94+OqgatYNzTb0viKS0/XomCjty1+F827u1pBiPt1ubSYdowZfE1L5Tw==","shasum":"d5c09564f621e7b24b2e333cccdf9b2303011644","tarball":"https://registry.npmjs.org/dimport/-/dimport-1.0.0.tgz","fileCount":10,"unpackedSize":21659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrvhUCRA9TVsSAnZWagAAUJIP/0ES96MMXX9TqthlghXc\nLYeWtdW0CnxtVYed2qt4ztS+JuZapCDkMh5qaGl+Lj6hAHGEXbzj0cmrFPzT\nQoddHJMN6pKlc73o9TfAZER6dg259C4/pIK2c1JFa7e5XAIH96H7QqRPByv6\nNqwuNTNGxCzUU4Zualy6wZvwn8o1Rpeh+fweqTlbX+cBtk4Ujb9e77TQ5/qL\n6tvbcXEKBXRxhYiZgWbHgSphUMSI+P3Z995BXI5IAxNi5pwyPHgRdrk220/F\nXhm1SjiRUBX9jlp+rSJorykb42rw5vU0mOKBwGDcZDTV5KxUM2xioy6qt/E/\nuNnwdCgcstjYtsUcxXHFj3L9VICqlp5vqsUf98VAj9ut8o3EEyvAZW6cODRe\n/+gTxkT5zHOYbocmlqWeDszvlH3G733Tl4vCHxtE5saVpTFI2UtqLgTMKuky\nhx/+qKQgHakSr+8y4y5LT07o1PT2nbdGLypGfstSLTNqgj4ypJPFaM2BKMpt\neDnQHPdGk3MsSbvvlCfpvO1gdkhCS+uxrUr3nSbFASsZXPcF4/4R7tX8fRAW\nBgjHdYt3IoEHqrQ/6FqURGJlBkfrfLBzm2i02EZLS33CHm0jLKgkrLqJn3sH\niGBM6L1IZhlRYTtBhonu4N6EjGhETRnukgSYpgPs9oDQdhNxLTz9Qn+2Px1u\nc6Ft\r\n=zu1D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBdYL43NtSK6K5SBfNSun0te//jFvNb1FsV8Pu4wjVUYAiBTU4IKflrPOCavSSE+tIRemkc2exR0zLNcr2eBA0JW8A=="}]},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dimport_1.0.0_1554970707741_0.8545340709217226"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-03T00:40:18.438Z","0.0.0":"2019-04-03T00:40:18.579Z","modified":"2022-04-28T20:30:10.234Z","0.1.0":"2019-04-05T18:19:10.511Z","0.1.1":"2019-04-05T18:28:32.663Z","0.1.2":"2019-04-10T00:37:58.955Z","0.1.3":"2019-04-10T01:11:18.782Z","0.1.4":"2019-04-10T18:07:38.857Z","0.1.5":"2019-04-10T19:10:39.985Z","1.0.0":"2019-04-11T08:18:27.866Z"},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"description":"Run ES Module syntax in any browser – even IE!","homepage":"https://github.com/lukeed/dimport#readme","keywords":["esm","dynamic","dynamic-import","polyfill","imports","import","module"],"repository":{"type":"git","url":"git+https://github.com/lukeed/dimport.git"},"author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"bugs":{"url":"https://github.com/lukeed/dimport/issues"},"license":"MIT","readme":"# dimport [![Build Status](https://badgen.now.sh/travis/lukeed/dimport)](https://travis-ci.org/lukeed/dimport)\n\n> Run ES Module syntax (`import`, `import()`, and `export`) in any browser &mdash; even IE!\n\nAt its core, `dimport` is a polyfill for ES Module syntax, including [dynamic imports](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Dynamic_Imports)!<br>\nAnd with it, you can serve modern ESM-driven application files to any browser.\n\nWhile browsers _are_ increasing support for JavaScript modules natively, the current landscape is not easy to navigate.<br>\nFor example, many browsers _do support_ ESM syntax (aka, `import` and `export`) within `<script type=module />` tags; however, not all of these support _dynamic import_ statements since it came later.\nIn order to leverage the benefits of ESM today, a developer must choose between:\n\n* dropping support for lagging browsers\n* complicating their development process\n* building and/or distributing multiple versions of their application\n* abstaining from shipping ESM syntax at all :cry:\n\nNow, `dimport` allows the developer to ship ESM **today** to all browsers without comproimse.<br>\nBetter yet, the development and distribution processes are simplified, if not unchanged.\n\nPS: Check out the [`/examples`](/examples) directory~!\n\n<br>\n\n---\n\n***Important***\n\nThis module **does not** convert your ES2015+ syntax into ES5 or below!<br>\nWhile `dimport` may allow older browsers to parse and interpret the ESM format, it does nothing to make the _contents_ of your file(s) backwards compatible.\n\n---\n\n<br>\n\n## Modes\n\nThere are three \"versions\" of `dimport`, each of which utilize different APIs and approaches to yield full ESM compatability.\n\nPlease note that **all modes** check for native `import()` support first and foremost.<br>\nThis means that `dimport` won't do anything if it doesn't have to.\n\n#### \"module\"\n> **Size (gzip):** 675 bytes<br>\n> **Availablility:** [UMD](https://unpkg.com/dimport), [CommonJS](https://unpkg.com/dimport/dist/index.js), [ES Module](https://unpkg.com/dimport?module)<br>\n> **Requires:** `script[type=module]`, `fetch`, `Promise`, `URL`\n\nSince _static_ `import` statements are supported, this mode parses all _dynamic_ `import()`s and creates temporary `script[type=module]` tags pointing to the resource's full, canonical URL. Once the temporary script loads, the originating Promise is resolved, returning the contents.\n\n#### \"nomodule\"\n> **Size (gzip):** 918 bytes<br>\n> **Availablility:** [UMD](https://unpkg.com/dimport/nomodule), [ES Module](https://unpkg.com/dimport/nomodule/index.mjs)<br>\n> **Requires:** `fetch`, `Promise`, `URL`\n\nAll `import`, `export`, and `import()` statements are dynamically rewritten to CommonJS modules so that their contents/exports are easily returned.\n\nAny `import` statements are parsed early, ensuring full canonical URLs, and then the whole file is wrapped in a `Promise.all` chain, guaranteeing each `import` its desired module.\n\n#### \"legacy\"\n> **Size (gzip):** 1143 bytes<br>\n> **Availablility:** [UMD](https://unpkg.com/dimport/legacy), [ES Module](https://unpkg.com/dimport/legacy/index.mjs)<br>\n> **Requires:** `Promise`, `XMLHttpRequest`\n\nTakes the same approach as [\"nomodule\"](#nomodule), but inserts alternatives to `fetch` and `URL`.\n\n> **Important:** You will need to supply your own Promise polyfill for IE support.\n\n\n## Usage\n\n> Don't miss the [`/examples`](/examples) directory :sparkles:\n\nIt's possible to use `dimport` in a variety of ways!\n\nThe simplest way is to connect a few `<script/>` tags to [unpkg.com](https://unpkg.com/):\n\n```html\n<!-- Load the \"module\" version on browsers that can support it. -->\n<script type=\"module\" src=\"https://unpkg.com/dimport?module\" data-main=\"/bundle.js\"></script>\n\n<!-- Load the \"nomodule\" version on older browsers – acts as fallback! -->\n<script type=\"nomodule\" src=\"https://unpkg.com/dimport/nomodule\" data-main=\"/bundle.js\"></script>\n```\n\nIn the sample above, a browser will automatically choose which script `type` to parse.<br>\nThis means the two scripts can live side-by-side without loading your application twice!<br>\nFinally, the _same_ application file (`bundle.js`) can be used, despite the `module`-vs-`nomodule` choice.\n\nYou will also notice that the scripts have a `data-main=\"\"` attribute.<br>\nThis the path to _your application_ or _your ESM-containing file_ you wish to load.\n\nOnce `dimport` has loaded, it circles back and see that its `<script/>` caller also wants it to load a file.<br>\nAlternatively, `dimport` can load an inline script from its caller!\n\n```html\n<!-- We can use any \"mode\" here, but choosing only 1 for simplicity -->\n<script src=\"https://unpkg.com/dimport/nomodule\">\n  // Notice that we can use `import` inside a script without \"type=module\"\n  import { h, render } from 'https://unpkg.com/preact?module';\n\n  render(\n    h('h1', null, 'Hello world'),\n    document.body\n  );\n</script>\n```\n\nFinally, `dimport` is available for programmatic use and/or usable _within_ your bundle (via Webpack or Rollup)\n\n```\n$ npm install --save dimport\n```\n\n```js\nimport dimport from 'dimport';\n// or, without bundling\nimport dimport from 'https://unpkg.com/dimport?module';\n\n// Pass in URLs or file paths\n// ~> like `import()` usage\ndimport('./foo.js').then(...);\n```\n\n\n## API – Programmatic\n\n### dimport(url)\n\nReturns: `Promise`\n\nReturns a Promise containing the module.\n\n<!-- > **Note:** The Promise-requestor is cached for instant reuse. -->\n\n#### url\nType: `String`\n\nThe URL of the script to import.\n\n> **Note:** Will be transformed into a full URL if not already – see [`new URL()`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#Examples)\n\n\n## Browser Support\n\nThe `dimport` columns yield support for **both** static and dynamic imports.\n\n> **Important:** Chart represents ESM syntax only!<br>Not indicative of ES2015+ syntax usage within your app.\n\n| Browser | `import`<br>native | `import()`<br>native | dimport<br>module | dimport<br>nomodule | dimport<br>legacy |\n|---------|--------------------|----------------------|-------------------|---------------------|-------------------|\n| Chrome  | 61                 | 63                   | 61                | 42                  | :+1:<sup>*</sup>  |\n| Safari  | 10.1               | 11.1                 | 10.1              | 10.1                | :+1:<sup>*</sup>  |\n| Firefox | 60                 | 67                   | 60                | 39                  | :+1:<sup>*</sup>  |\n| Edge    | 16                 | :x:                  | 16                | 14                  | :+1:<sup>*</sup>  |\n| IE      | :x:                | :x:                  | :x:               | :x:                 | 7 <sup>*</sup>     |\n\n<sup>*</sup> _Indicates support with `Promise` polyfill supplied_\n\n\n## Prior Art\n\n* [`dynamic-import-ponyfill`](https://www.npmjs.com/package/dynamic-import-ponyfill) – The \"first version\" of `dimport` – now deprecated.\n* [`shimport`](https://github.com/Rich-Harris/shimport) – Patient zero. Similar to \"nomodule\" mode. Made it \"okay\" to rewrite files on the fly.\n\n## License\n\nMIT © [Luke Edwards](https://lukeed.com)\n","readmeFilename":"readme.md"}