Search results

69 packages found

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 ago3051 dependents licensed under $MIT
308,326,508

Removes separators from the end of the string.

published version 1.1.0, 8 years ago683 dependents licensed under $ISC
63,041,561

Strip a substring from the start/end of a string

published version 2.0.0, 4 years ago57 dependents licensed under $MIT
17,957,793

Convert Windows file paths to unix paths.

published version 1.0.0, 8 years ago138 dependents licensed under $MIT
18,935,682

removes trailing slashes

published version 0.1.1, 5 years ago96 dependents licensed under $MIT
7,331,295

Remove the trailing spaces from a string.

published version 1.0.9, 4 months ago12 dependents licensed under $MIT
12,617,975

Bit twiddling hacks for JavaScript

published version 1.0.2, 11 years ago95 dependents licensed under $MIT
1,505,435

A variant of RxJS exhaustMap that includes the trailing value emitted from the source observable while waiting for the inner observable to complete

published version 2.1.1, 2 years ago7 dependents licensed under $MIT
683,043

Ensure a string has a single trailing newline based off it's dominant newline character.

published version 1.0.0, 10 years ago8 dependents licensed under $MIT
295,293

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

published version 3.1.20, 9 months ago78 dependents licensed under $ISC
357,470

Trailing slash redirect middleware for Connect and Express.js

published version 1.4.0, 6 years ago54 dependents licensed under $MIT
107,638

Require JSON5 files in node - a better JSON for ES5 era

published version 1.3.0, 3 years ago20 dependents licensed under $MIT
40,925

remark-lint rule to warn when lines end with trailing spaces

published version 3.0.2, 10 months ago3 dependents licensed under $MIT
28,807

Forces trailing slashes in the PWA router for all statically generated pages

published version 1.0.6, 3 years ago21 dependents licensed under $MIT
36,683

Express middleware for people who are anal about trailing slashes.

published version 2.0.1, 11 years ago24 dependents
11,858

Split a string and preserve the delimiters.

published version 1.0.1, 9 years ago4 dependents licensed under $MIT
13,607

Strip trailing comma from JSON files

published version 1.1.0, 4 years ago5 dependents licensed under $MIT
6,467

Remove trailing commas

published version 1.0.1, 10 years ago14 dependents licensed under $MIT
3,715

Pad a number with leading or trailing zeros

published version 1.0.1, 9 years ago3 dependents licensed under $MIT
6,230

Remove trailing zeros from a string/number

published version 1.0.3, 7 years ago2 dependents licensed under $ISC
3,891