1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 01:59:06 -05:00
denoland-deno/std/path
2020-05-18 08:46:56 -04:00
..
_constants.ts BREAKING(std): reorganization (#5087) 2020-05-09 08:34:47 -04:00
_globrex.ts Fix typos across the repo (#5295) 2020-05-14 06:38:42 +02:00
_globrex_test.ts BREAKING(std): reorganization (#5087) 2020-05-09 08:34:47 -04:00
_util.ts BREAKING(std): reorganization (#5087) 2020-05-09 08:34:47 -04:00
basename_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
common.ts BREAKING(std): reorganization (#5087) 2020-05-09 08:34:47 -04:00
common_test.ts feat: Add common to std/path (#4527) 2020-03-30 11:36:55 -04:00
dirname_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
extname_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
from_file_url_test.ts feat(URL): Support drive letters for file URLs on Windows (#5074) 2020-05-04 14:32:54 -04:00
glob.ts BREAKING(std): reorganization (#5087) 2020-05-09 08:34:47 -04:00
glob_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
interface.ts std: Move fs/path to the top-level (#3100) 2019-10-16 14:39:33 -04:00
isabsolute_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
join_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
mod.ts BREAKING(std): reorganization (#5087) 2020-05-09 08:34:47 -04:00
parse_format_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
posix.ts Revert "Fix definition of URL constructor (#5521)" (#5564) 2020-05-18 08:46:56 -04:00
README.md Miscellaneous documentation and spelling improvements (#5527) 2020-05-17 19:24:39 +02:00
relative_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
resolve_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
separator.ts BREAKING(std): reorganization (#5087) 2020-05-09 08:34:47 -04:00
win32.ts Revert "Fix definition of URL constructor (#5521)" (#5564) 2020-05-18 08:46:56 -04:00
zero_length_strings_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02: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