Tutorial: How to create and use a D package
To create a D package, you first need to have dub utility (plus D compiler, dmd). You can download pre-compiled dub binaries from here.
Creating a D package
cd ~
mkdir dlibs
cd dlibs
dub init mypack #this will create a skeleton for your package: ...
mahdix.com2 min read