Home

Awesome

filepath

Work with file paths in Gleam!

Package Version Hex Docs

This package works on both Unix and Windows systems, and can run on both Erlang or JavaScript runtimes.

gleam add filepath
import filepath

pub fn main() {
  let path = filepath.join("/home/lucy", "pokemon-cards")
  // -> "/home/lucy/pokemon-cards"
}

Documentation can be found here: https://hexdocs.pm/filepath.