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

strip-outer

Strip a substring from the start/end of a string

  • v2.0.0
  • 104.63
  • Published

unixify

Convert Windows file paths to unix paths.

  • v1.0.0
  • 104.34
  • Published

bit-twiddle

Bit twiddling hacks for JavaScript

  • v1.0.2
  • 91.37
  • 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.63
  • Published

upath2

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

  • v3.1.20
  • 79.27
  • Published

single-trailing-newline

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

  • v1.0.0
  • 77.33
  • Published

connect-slashes

Trailing slash redirect middleware for Connect and Express.js

  • v1.4.0
  • 72.11
  • Published

require-json5

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

  • v1.3.0
  • 62.20
  • Published

express-slash

Express middleware for people who are anal about trailing slashes.

  • v2.0.1
  • 56.91
  • Published

split-retain

Split a string and preserve the delimiters.

  • v1.0.1
  • 55.92
  • Published

count-trailing-zeros

Counts the number of trailing zeros of a binary integer

  • v1.0.1
  • 55.00
  • Published

zerop

Pad a number with leading or trailing zeros

  • v1.0.1
  • 50.55
  • Published

slashify

Express/Connect middleware to handle trailing slashes with options

  • v1.0.0
  • 42.52
  • 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
  • 41.27
  • Published

leading-chars

Creates leading characters for a string or number

  • v0.0.4
  • 37.20
  • Published

middleware-trailingslash

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

  • v2.1.1
  • 34.39
  • Published

trim-whitespace

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

  • v1.3.3
  • 34.27
  • Published

trailing-whitespaces

removes removes trailing whitespaces from your files

  • v1.0.8
  • 31.92
  • Published

write-file-trim

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

  • v1.0.10
  • 30.08
  • Published

express-trailing-slash

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

  • v1.0.0
  • 26.75
  • 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.67
  • Published

@entva/express-trailingslash

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

  • v1.3.0
  • 21.43
  • Published

express-slashes

Express middleware that removes trailing slashes

  • v0.1.1
  • 21.25
  • Published

slash-connecter

Trailing slash redirect middleware for Connect and Express.js

  • v1.0.0
  • 18.23
  • Published

text-tailor

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

  • v1.0.10
  • 17.49
  • Published

normy

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

  • v1.2.1
  • 17.06
  • Published

has-trailing-slash

Check if a string has trailing slashses easily

  • v1.0.3
  • 17.04
  • Published

without-comments

Small utility that removes line/trailing comments from any input

  • v1.0.0
  • 16.36
  • Published

os-slash

Cross-platform path utility for consistent slash normalization and manipulation

  • v1.0.3
  • 15.93
  • Published

require-json6

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

  • v1.1.0
  • 15.19
  • Published

notrailing

No trailing slashes (except the root)

  • v0.4.0
  • 14.10
  • 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
  • 13.50
  • Published

trailers

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

  • v0.0.1
  • 13.14
  • Published

rmtrailing

Removes dynamic trailing substring

  • v1.0.3
  • 12.09
  • Published

koa-slash

Koa middleware that removes trailing slashes

  • v0.2.0
  • 12.00
  • Published

strip-trailing-slashes

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

  • v0.1.0
  • 10.50
  • Published

jsoncomma

JSON with trailing commas for happy diffs

  • v1.0.0
  • 10.33
  • Published

noline

Remove trailing newline characters from files.

    • v0.0.1
    • 9.99
    • Published

    stream-newline

    Ensure stream ends with a newline

    • v1.0.0
    • 8.95
    • Published

    noeol

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

    • v1.0.5
    • 8.17
    • Published

    slash-helper

    Remove trailing slashes and prepend slash to a URL

    • v1.1.0
    • 7.77
    • Published

    ensure-slash

    Ensure your string ends with a slash

    • v1.0.0
    • 7.10
    • Published