Search results

26 packages found

Convert Windows backslash paths to slash paths

published version 5.1.0, 2 years ago4017 dependents licensed under $MIT
437,377,600

Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.

published version 3.0.0, 7 years ago3059 dependents licensed under $MIT
343,140,714

Escape strings for use as JavaScript string literals

published version 1.0.1, 9 years ago415 dependents licensed under $MIT
14,622,433

Convert Windows file paths to unix paths.

published version 1.0.0, 8 years ago138 dependents licensed under $MIT
20,218,627

Escape a string for use in AppleScript

published version 3.0.0, 4 years ago12 dependents licensed under $MIT
1,251,821

Escape glob patterns

published version 0.0.2, 9 years ago31 dependents licensed under $MIT
2,289,174

parse string escapes (\n, \r, etc.)

published version 0.2.0, 9 years ago59 dependents
1,187,993

A proxy to `path`, replacing `\` with `/` for all results

published version 3.1.20, 10 months ago78 dependents licensed under $ISC
433,175

escape regular expression characters

published version 0.0.0, 12 years ago36 dependents licensed under $MIT
145,350

Convert Windows backslash paths to slash paths

published version 2.0.0, 7 years ago166 dependents licensed under $MIT
78,911

Universal drop-in replacement for node:path

published version 4.0.2, 20 days ago8 dependents licensed under $BSD-3-Clause
2,857

Convert path with slash into regexp

published version 0.1.0, 8 months ago5 dependents licensed under $MIT
182

Convert Windows backslash paths to slash paths. This is a fork of sindresorhus/slash, but with CommonJS support.

published version 5.1.0, 2 years ago2 dependents licensed under $MIT
201

Cross-platform path utility for consistent slash normalization and manipulation

published version 1.0.3, a month ago0 dependents licensed under $MIT
136

Removes a given escape sequence from before characters in a string. Correctly handles double-escapes by only unescaping them once.

published version 1.0.0, 6 years ago0 dependents licensed under $MIT
46

Remove trailing path separator from string.

published version 1.0.3, 4 years ago2 dependents licensed under $MIT
25

Convert Windows backslash paths to slash paths

published version 4.0.0-cjsa.0, 3 years ago0 dependents licensed under $MIT
15

Switch slash and backslash in string

published version 1.0.0, 7 years ago1 dependents licensed under $MIT
14

Unify paths in any texts across platforms to UNIXy (slashed dirs) format for comparison, reporting, etc.

published version 1.0.1, 7 years ago2 dependents licensed under $MIT
15

Checks given value is backslash - support char code number, hex, unicode or string value to be given.

published version 1.0.0, 9 years ago0 dependents licensed under $MIT
9