JSPM

Found 69 results for trailing

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
  • 40.15
  • Published

trailing-whitespaces

removes removes trailing whitespaces from your files

  • v1.0.8
  • 37.94
  • Published

leading-chars

Creates leading characters for a string or number

  • v0.0.4
  • 37.93
  • Published

slashify

Express/Connect middleware to handle trailing slashes with options

  • v1.0.0
  • 37.58
  • Published

middleware-trailingslash

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

  • v2.1.1
  • 33.36
  • Published

write-file-trim

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

  • v1.0.10
  • 31.14
  • Published

trim-whitespace

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

  • v1.3.3
  • 28.02
  • Published

express-trailing-slash

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

  • v1.0.0
  • 25.42
  • 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.26
  • Published

express-slashes

Express middleware that removes trailing slashes

  • v0.1.1
  • 19.77
  • 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.47
  • Published

@entva/express-trailingslash

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

  • v1.3.0
  • 14.75
  • Published

koa-slash

Koa middleware that removes trailing slashes

  • v0.2.0
  • 11.44
  • Published

without-comments

Small utility that removes line/trailing comments from any input

  • v1.0.0
  • 10.80
  • Published

normy

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

  • v1.2.1
  • 10.63
  • Published

text-tailor

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

  • v1.0.10
  • 10.60
  • Published

notrailing

No trailing slashes (except the root)

  • v0.4.0
  • 9.77
  • Published

rmtrailing

Removes dynamic trailing substring

  • v1.0.3
  • 9.13
  • Published

require-json6

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

  • v1.1.0
  • 8.25
  • Published

trailers

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

  • v0.0.1
  • 8.12
  • Published

jsoncomma

JSON with trailing commas for happy diffs

  • v1.0.0
  • 7.14
  • Published

has-trailing-slash

Check if a string has trailing slashses easily

  • v1.0.3
  • 6.03
  • Published

os-slash

Cross-platform path utility for consistent slash normalization and manipulation

  • v1.0.3
  • 5.94
  • Published

noline

Remove trailing newline characters from files.

    • v0.0.1
    • 4.61
    • Published

    slash-helper

    Remove trailing slashes and prepend slash to a URL

    • v1.1.0
    • 4.34
    • Published

    slash-connecter

    Trailing slash redirect middleware for Connect and Express.js

    • v1.0.0
    • 2.68
    • Published

    ensure-slash

    Ensure your string ends with a slash

    • v1.0.0
    • 2.67
    • Published

    stream-newline

    Ensure stream ends with a newline

    • v1.0.0
    • 2.67
    • Published

    noeol

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

    • v1.0.5
    • 2.63
    • Published

    strip-trailing-slashes

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

    • v0.1.0
    • 2.63
    • Published