1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 18:19:08 -05:00
denoland-deno/std/path
Ryan Dahl d0970daacd
make std deno-lint clean (#6240)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-06-12 09:19:29 -04:00
..
_constants.ts fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -04:00
_globrex.ts fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -04:00
_globrex_test.ts BREAKING(std): reorganization (#5087) 2020-05-09 08:34:47 -04:00
_interface.ts fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -04:00
_util.ts fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -04:00
basename_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02:00
common.ts fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -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 refactor(std): remove testing dependencies from non-test code (#5838) 2020-06-07 09:20:33 -04:00
glob_test.ts BREAKING: remove overload of Deno.test() (#4951) 2020-04-28 12:33:09 +02: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 fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -04:00
parse_format_test.ts make std deno-lint clean (#6240) 2020-06-12 09:19:29 -04:00
posix.ts fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -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 fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -04:00
win32.ts refactor(std): remove testing dependencies from non-test code (#5838) 2020-06-07 09:20:33 -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