1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/std/path
Kitson Kelly 82aabb657a
feat: add --no-check option (#6456)
This commit adds a "--no-check" option to following subcommands:
- "deno cache"
- "deno info"
- "deno run"
- "deno test"

The "--no-check" options allows to skip type checking step and instead 
directly transpiles TS sources to JS sources. 

This solution uses `ts.transpileModule()` API and is just an interim
solution before implementing it fully in Rust.
2020-07-08 11:26:39 +02: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 refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
_interface.ts fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -04:00
_util.ts feat: add --no-check option (#6456) 2020-07-08 11:26:39 +02:00
basename_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
common.ts fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -04:00
common_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
dirname_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -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(cli/js/web/url): Support UNC paths on Windows (#6418) 2020-06-26 08:34:17 -04:00
glob.ts upgrade: swc_ecma_visit, dprint, deno_lint (#6580) 2020-07-01 16:04:56 +02:00
glob_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
isabsolute_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
join_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
mod.ts fix(std/path): Support browsers (#6003) 2020-05-31 13:48:32 -04:00
parse_format_test.ts refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
posix.ts feat: add --no-check option (#6456) 2020-07-08 11:26:39 +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
win32.ts feat: add --no-check option (#6456) 2020-07-08 11:26:39 +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