0 Forks
1 Stars
1 Watchers

importcjsamdumd

注意,此代码存储库已被弃用,不会再更新维护了. Note that this code repository has been deprecated and will not be updated and maintained.基于promise动态异步加载" commonjs "和 "umd "和 "amd","cmd"和"ES","json" 模块6合一, 实现commonjs,amd,umd,cmd模块全部异步加载了,包装 cjs 和 amd 和 umd 模块为异步加载 promise 方法,可以在commonjs模块中使用top-level-await,使用 fetch 方法来获取指定的模块包源代码 , 可以把模块放入模块仓库中, 并且解决了包之间的依赖关系,如果依赖包当中的 require 函数需要,则在模块仓库中引入需要的模块包 定义了模块包的 define 方法,require 方法,module.exports 对象和 exports 对象

How to download and setup importcjsamdumd

Open terminal and run command
git clone https://github.com/masx200/importcjsamdumd.git
git clone is used to create a copy or clone of importcjsamdumd repositories. You pass git clone a repository URL.
it supports a few different network protocols and corresponding URL formats.

Also you may download zip file with importcjsamdumd https://github.com/masx200/importcjsamdumd/archive/master.zip

Or simply clone importcjsamdumd with SSH
[email protected]:masx200/importcjsamdumd.git

If you have some problems with importcjsamdumd

You may open issue on importcjsamdumd support forum (system) here: https://github.com/masx200/importcjsamdumd/issues