xdg-bdsm

XDG Base Directory Manager -> to manage your files on your node applications

Usage no npm install needed!

<script type="module">
  import xdgBdsm from 'https://cdn.skypack.dev/xdg-bdsm';
</script>

README

xdg-bdsm

“Personally, man, I was hoping it was just gonna be some BDSM stuff.”

-- Elliot Alderson, Mr. Robot - Season 1, Episode 1

The xdg-bdsm module hopes to manage your applications' files according to the XDG Base Directory Specification.

The Specification itself tries just to standardize where files should be located.

Link to the specification:

https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Roadmap

  • : xdg-bdsm/paths : Computes paths from environment variables or lack of.
    • Still missing RUNTIME_DIR
  • : xdg-bdsm/fm : File manager for Node Js applications XdgFM
    • currently only tracking files in base
  • : Add support for files within the directories without hacks
  • : Add documentation besides the jsdoc
  • : Add tutorials

Check the API at:

https://cpmachado.github.io/xdg-bdsm