In this article, we explore the idea of using Degit to clone/download core/non core packages required to setup the development environment for CodeMirror V6.
Pay attention to the run function in the above image.
run("git", ["clone", origin, pkg.dir]...