Search results

68 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 ago2988 dependents licensed under $MIT
279,272,851

Removes separators from the end of the string.

published version 1.1.0, 8 years ago683 dependents licensed under $ISC
56,477,991

Strip a substring from the start/end of a string

published version 2.0.0, 4 years ago56 dependents licensed under $MIT
18,478,755

Convert Windows file paths to unix paths.

published version 1.0.0, 8 years ago138 dependents licensed under $MIT
17,550,909

Remove the trailing spaces from a string.

published version 1.0.9, a month ago12 dependents licensed under $MIT
12,652,231

removes trailing slashes

published version 0.1.1, 5 years ago96 dependents licensed under $MIT
7,387,995

Bit twiddling hacks for JavaScript

published version 1.0.2, 11 years ago95 dependents licensed under $MIT
1,575,311

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
633,082

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

published version 1.0.0, 9 years ago8 dependents licensed under $MIT
264,622

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

published version 3.1.20, 7 months ago78 dependents licensed under $ISC
329,393

Trailing slash redirect middleware for Connect and Express.js

published version 1.4.0, 6 years ago52 dependents licensed under $MIT
132,438

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

published version 1.3.0, 3 years ago20 dependents licensed under $MIT
32,887

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

published version 3.0.2, 8 months ago3 dependents licensed under $MIT
29,542

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

published version 1.0.6, 3 years ago21 dependents licensed under $MIT
33,714

Split a string and preserve the delimiters.

published version 1.0.1, 9 years ago4 dependents licensed under $MIT
18,442

Express middleware for people who are anal about trailing slashes.

published version 2.0.1, 11 years ago24 dependents
8,137

Pad a number with leading or trailing zeros

published version 1.0.1, 9 years ago3 dependents licensed under $MIT
10,641

Strip trailing comma from JSON files

published version 1.1.0, 4 years ago5 dependents licensed under $MIT
5,669

Remove trailing commas

published version 1.0.1, 10 years ago14 dependents licensed under $MIT
4,292

Counts the number of trailing zeros of a binary integer

published version 1.0.1, 10 years ago1 dependents licensed under $MIT
2,473