deno/std/path
Bert Belder 36fde75d77
Miscellaneous documentation and spelling improvements (#5527)
* Extended/updated documentation on code editor setup and plugins.
* Moved documentation to the right file.
* Fixed spelling errors in documentation and code.
* Updated broken links.

Co-authored-by: 迷渡 <justjavac@gmail.com>
Co-authored-by: AlfieriChou <alfierichou@gmail.com>
Co-authored-by: Anil Seervi <anil13112000@gmail.com
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de>
Co-authored-by: Tommy May <tommymay37@gmail.com>
Co-authored-by: Turbinya <wownucleos@gmail.com>
Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net>
2020-05-17 19:24:39 +02: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 Fix definition of URL constructor (#5521) 2020-05-17 11:37:16 -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 Fix definition of URL constructor (#5521) 2020-05-17 11:37:16 -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