Skip to main content
Deno 2 is finally here 🎉️
Learn more

Ddirs

Deno wrapper over https://github.com/dirs-dev/dirs-rs

Usage

import * as dirs from "https://deno.land/x/ddirs@0.1.0/ddirs.ts"

console.log(dirs.config_dir())

Devolpement

To develop this library locally:

  • Generate ddirs.ts by running deno run -A build.ts
  • Set “BOLT” enviorenent variable to “dev”, this allows changes to the local ddirsRust crate to be reflected
  • Run the example deno run -A --unstable example/main.ts and start developping