deno/std/path
2020-09-27 12:22:32 +02:00
..
_constants.ts refactor: Rewrite globToRegExp() (#6963) 2020-08-06 08:46:31 -04:00
_interface.ts chore: add copyright (#7593) 2020-09-21 08:26:41 -04:00
_util.ts feat(fmt): Sort named import and export specifiers (#7711) 2020-09-27 12:22:32 +02:00
basename_test.ts Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
common.ts fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -04:00
common_test.ts Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
dirname_test.ts Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
extname_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
from_file_url_test.ts fix: Allow isolated "%"s when parsing file URLs (#7108) 2020-08-21 15:37:06 +02:00
glob.ts refactor: Rewrite globToRegExp() (#6963) 2020-08-06 08:46:31 -04:00
glob_test.ts feat(fmt): Sort named import and export specifiers (#7711) 2020-09-27 12:22:32 +02:00
isabsolute_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
join_test.ts chore: add copyright (#7593) 2020-09-21 08:26:41 -04:00
mod.ts fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -04:00
parse_format_test.ts feat(fmt): Sort named import and export specifiers (#7711) 2020-09-27 12:22:32 +02:00
posix.ts feat(fmt): Sort named import and export specifiers (#7711) 2020-09-27 12:22:32 +02:00
README.md Miscellaneous documentation and spelling improvements (#5527) 2020-05-17 19:24:39 +02:00
relative_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
resolve_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
separator.ts fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -04:00
test.ts chore: add copyright (#7593) 2020-09-21 08:26:41 -04:00
win32.ts feat(fmt): Sort named import and export specifiers (#7711) 2020-09-27 12:22:32 +02:00
zero_length_strings_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00

Deno Path Manipulation Libraries

Usage:

import * as path from "https://deno.land/std/path/mod.ts";

globToRegExp

Generate a regex based on glob pattern and options This was meant to be using the the fs.walk function but can be used anywhere else.

import { globToRegExp } from "https://deno.land/std/path/glob.ts";

globToRegExp("foo/**/*.json", {
  flags: "g",
  extended: true,
  globstar: true,
}); // returns the regex to find all .json files in the folder foo