JSPM

Found 69 results for trailing

normalize-path

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.

  • v3.0.0
  • 118.37
  • Published

unixify

Convert Windows file paths to unix paths.

  • v1.0.0
  • 101.54
  • Published

strip-outer

Strip a substring from the start/end of a string

  • v2.0.0
  • 100.61
  • Published

bit-twiddle

Bit twiddling hacks for JavaScript

  • v1.0.2
  • 92.16
  • Published

rxjs-exhaustmap-with-trailing

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

  • v2.1.1
  • 79.25
  • Published

single-trailing-newline

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

  • v1.0.0
  • 76.94
  • Published

upath2

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

  • v3.1.20
  • 75.03
  • Published

connect-slashes

Trailing slash redirect middleware for Connect and Express.js

  • v1.4.0
  • 70.73
  • Published

require-json5

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

  • v1.3.0
  • 59.84
  • Published

express-slash

Express middleware for people who are anal about trailing slashes.

  • v2.0.1
  • 57.46
  • Published

split-retain

Split a string and preserve the delimiters.

  • v1.0.1
  • 55.60
  • Published

zerop

Pad a number with leading or trailing zeros

  • v1.0.1
  • 55.27
  • Published

count-trailing-zeros

Counts the number of trailing zeros of a binary integer

  • v1.0.1
  • 51.59
  • Published

koa-no-trailing-slash

Koa middleware that redirects all requests to an URL with a trailing slash to the same URL without it.

  • v2.1.0
  • 38.80
  • Published

leading-chars

Creates leading characters for a string or number

  • v0.0.4
  • 37.56
  • Published

trailing-whitespaces

removes removes trailing whitespaces from your files

  • v1.0.8
  • 36.66
  • Published

slashify

Express/Connect middleware to handle trailing slashes with options

  • v1.0.0
  • 36.44
  • Published

middleware-trailingslash

ExpressJS middleware that redirects requests with trailing slashes to a clean one without it

  • v2.1.1
  • 32.80
  • Published

write-file-trim

Write the content in a file after removing the trailing spaces.

  • v1.0.10
  • 31.20
  • Published

trim-whitespace

Remove leading and/or trailing spaces and tabs from each line of a string

  • v1.3.3
  • 28.20
  • Published

express-trailing-slash

Express middleware for redirecting URLs without trailing slash to the same URL with a trailing slash

  • v1.0.0
  • 25.17
  • Published

path-slashes

Adding or removing of trailing and/or leading slashes in strings, test for their existence or join strings with slashes without duplicating them.

  • v2.0.1
  • 21.13
  • Published

express-slashes

Express middleware that removes trailing slashes

  • v0.1.1
  • 19.50
  • Published

clean-redirect

Enforce HTTPS, www to naked domains, remove trailing slash, to lower case, and your own custom redirect logic, all in one single redirect.

  • v1.0.0
  • 17.58
  • Published

@entva/express-trailingslash

ExpressJS middleware that redirects requests with trailing slashes to a clean one without it

  • v1.3.0
  • 14.84
  • Published

koa-slash

Koa middleware that removes trailing slashes

  • v0.2.0
  • 11.52
  • Published

without-comments

Small utility that removes line/trailing comments from any input

  • v1.0.0
  • 10.87
  • Published

normy

Normy is a Node.js middleware that normalizes and redirects URLs for SEO purposes.

  • v1.2.1
  • 10.56
  • Published

text-tailor

Trims trailing spaces and tabspaces after each line and trims leading and trailing newlines in a file

  • v1.0.10
  • 10.49
  • Published

notrailing

No trailing slashes (except the root)

  • v0.4.0
  • 9.45
  • Published

rmtrailing

Removes dynamic trailing substring

  • v1.0.3
  • 8.71
  • Published

trailers

Automatically defer all written headers to Trailing headers after the headers have been writen.

  • v0.0.1
  • 7.87
  • Published

require-json6

Require JSON6 files in node - a better JSON for ES6 era

  • v1.1.0
  • 7.87
  • Published

jsoncomma

JSON with trailing commas for happy diffs

  • v1.0.0
  • 6.90
  • Published

has-trailing-slash

Check if a string has trailing slashses easily

  • v1.0.3
  • 5.97
  • Published

os-slash

Cross-platform path utility for consistent slash normalization and manipulation

  • v1.0.3
  • 5.76
  • Published

noline

Remove trailing newline characters from files.

    • v0.0.1
    • 4.55
    • Published

    slash-helper

    Remove trailing slashes and prepend slash to a URL

    • v1.1.0
    • 4.27
    • Published

    slash-connecter

    Trailing slash redirect middleware for Connect and Express.js

    • v1.0.0
    • 2.66
    • Published

    stream-newline

    Ensure stream ends with a newline

    • v1.0.0
    • 2.64
    • Published

    noeol

    A tiny utility that pipes stdin to stdout, but leaves out the trailing newline if there is one.

    • v1.0.5
    • 2.55
    • Published

    strip-trailing-slashes

    A function that removes all slashes from the end of a string.

    • v0.1.0
    • 2.55
    • Published

    ensure-slash

    Ensure your string ends with a slash

    • v1.0.0
    • 2.55
    • Published