https://deno.land/x/dem 

dem

Example of alias file

export * from 'https://deno.land/x/dejs@0.3.1/mod.ts';

Installation

deno install dem https://deno.land/x/dem@0.1.0/cmd.ts --allow-read --allow-write

Usage

$ dem init
successfully initialized a project.

$ dem add https://deno.land/std@v0.15.0
successfully added new module: https://deno.land/std, version: v0.15.0

example.ts

import * as path from './vendor/https/deno.land/std/fs/path.ts';

console.log(path.join(Deno.cwd(), 'example'));
$ dem ensure
successfully created alias: https://deno.land/std@v0.15.0/fs/path.ts
$ deno example.ts
$ dem update https://deno.land/std@v0.16.0
successfully updated module: https://deno.land/std, version: v0.16.0

Commands

dem init                                   // initialize dem.json
dem add https://deno.land/x/dejs@0.1.0     // add module `dejs` and set its version to `0.1.0`
dem link https://deno.land/x/dejs/mod.ts   // create alias of `dejs@0.1.0/mod.ts` and put it into vendor.
dem update https://deno.land/x/dejs@0.2.0  // update module to `0.2.0`
dem unlink https://deno.land/x/dejs/mod.ts // remove alias of `dejs@0.2.0/mod.ts`.
dem remove https://deno.land/x/dejs        // remove module `dejs`
dem ensure                                 // resolve modules used in project and link them.
dem prune (WIP)                            // remove unused modules and aliases.

Unsupported features

Author

syumai

License

MIT