1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/std/path
2021-01-10 21:59:07 -05:00
..
_constants.ts fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960) 2021-01-02 10:17:01 -05:00
_interface.ts update copyright to 2021 (#9081) 2021-01-10 21:59:07 -05:00
_util.ts fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960) 2021-01-02 10:17:01 -05:00
basename_test.ts Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
common.ts update copyright to 2021 (#9081) 2021-01-10 21:59:07 -05:00
common_test.ts update copyright to 2021 (#9081) 2021-01-10 21:59:07 -05: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 update copyright to 2021 (#9081) 2021-01-10 21:59:07 -05:00
glob.ts update copyright to 2021 (#9081) 2021-01-10 21:59:07 -05:00
glob_test.ts update copyright to 2021 (#9081) 2021-01-10 21:59:07 -05:00
isabsolute_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
join_test.ts update copyright to 2021 (#9081) 2021-01-10 21:59:07 -05:00
mod.ts fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960) 2021-01-02 10:17:01 -05:00
parse_format_test.ts feat(fmt): Sort named import and export specifiers (#7711) 2020-09-27 12:22:32 +02:00
posix.ts fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960) 2021-01-02 10:17:01 -05:00
README.md docs(std/path): fix typo in globToRegExp docs (#8081) 2020-10-23 12:19:38 +11: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 update copyright to 2021 (#9081) 2021-01-10 21:59:07 -05:00
test.ts update copyright to 2021 (#9081) 2021-01-10 21:59:07 -05:00
to_file_url_test.ts update copyright to 2021 (#9081) 2021-01-10 21:59:07 -05:00
win32.ts fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960) 2021-01-02 10:17:01 -05: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@$STD_VERSION/path/mod.ts";

globToRegExp

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

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

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