JSPM

Found 60 results for pathname

url-trim

trims query and hash parameters off a URL

  • v1.0.0
  • 72.38
  • Published

url-params-parser

Url parser to extract named and query params

  • v1.0.4
  • 60.88
  • Published

join-url

Like `path.join` but for urls.

  • v2.0.0
  • 43.69
  • Published

@stdlib/process-exec-path

Absolute pathname of the executable which started the current Node.js process.

  • v0.2.2
  • 41.62
  • Published

url-js

Simple URL parser, similar to DOM URL

  • v2.1.0
  • 36.36
  • Published

router-http

Simple HTTP router compatible with Express

  • v1.0.11
  • 35.15
  • Published

normalize-pathname

normalizes any pathname to one leading slash and no trailing slash

  • v1.0.1
  • 32.64
  • Published

react-router-relative-link-5

A wrapper around react-router's Link that allows relative paths. For react-router version 5

  • v5.0.5
  • 32.17
  • Published

regex-dirname

Regular expression to capture a path dirname.

  • v1.0.0
  • 26.81
  • Published

@nimpl/path-parser

Helper for next.js-styled pathname parsing (f.e. /(site)/docs/[key]) to get dynamic params

  • v1.0.1
  • 26.08
  • Published

regex-dirname-posix

Regular expression to capture a POSIX path dirname.

  • v1.0.0
  • 25.71
  • Published

utils-dirname

Returns a directory name.

  • v1.0.0
  • 25.42
  • Published

preserve-qs

Preserve querystrings during redirect and creating new URLs for Node.js and browser environments (supports Lad, Koa, Express, and Connect)

  • v0.0.5
  • 22.25
  • Published

fso

fso - FileSystemObject is a objective fs interface like Pathname(ruby)

  • v2.7.0
  • 18.55
  • Published

pathname

OOP wrapper for `fs`, `path` and `Stat` functions

  • v0.9.0
  • 18.26
  • Published

cross-pwd

Cross platform pwd (pathname of the current working directory)

  • v1.0.4
  • 14.11
  • Published

uri-path-breakdown

Single-function module to break a URI path down to its parts

  • v1.0.21
  • 13.87
  • Published

path-util

Utility for pathname manipulations

  • v0.3.0
  • 13.59
  • Published

react-router-min

Only 5k. A lightweight react router component and hooks for ReactJS. Support dyamic routes, multiple routes, base path, presetQuery. useRouter and Link component Provided.

  • v1.0.0
  • 13.48
  • Published

@eternaljs/url-parser

This basic package allows you to parse a URL into its singular parts, i.e protocol, username, password, hostname, port, domain, subdomain.

  • v1.1.3
  • 13.05
  • Published

document-pathname

Simple interface to document.location.pathname that returns / in Node

  • v2.0.0
  • 11.50
  • Published

mocklint

validate JSON files and javascript files

  • v0.1.2
  • 8.12
  • Published

url-pathname

returns the url pathname from a url string

  • v1.0.1
  • 8.11
  • Published

params-router

Client-side SPA router that converts URL to and from params

  • v1.0.4
  • 7.45
  • Published

pathname-ts

A partial implementation of Ruby's Pathname class for Node.js.

    • v0.3.0
    • 7.09
    • Published

    node-pathname

    Node.js implementation of Ruby's Pathname

    • v0.2.0
    • 7.09
    • Published

    pathname-js

    Simply manage paths.

    • v1.0.12
    • 6.22
    • Published

    query-path

    helper methods to work with URL query string and pathname

    • v1.1.4
    • 6.15
    • Published

    http-get-pathname

    Extract and cache the pathname string of an http request

    • v2.0.0
    • 4.70
    • Published

    find-next-file-name

    Add number in parentheses to file name if in specified location a file with given name already exists.

    • v1.0.1
    • 4.67
    • Published

    url-path-info

    Package that shows path info in an easy to use object

    • v1.0.5
    • 4.66
    • Published

    url-trie

    splits URLs into useful hierarchical pieces.

    • v1.1.0
    • 4.49
    • Published

    urlmodule

    URL assembler library

    • v0.0.2
    • 4.47
    • Published

    react-router-relative

    A wrapper around react-router's Link that allows relative paths.

    • v1.0.0
    • 2.73
    • Published

    pathcap

    Recursively rename directories and files to have names no longer than given number of bytes.

    • v0.0.5
    • 2.63
    • Published

    sanitiser

    A path name sanitiser.

    • v0.0.2
    • 2.63
    • Published

    @alloc/path-types

    TypeScript utility types for URL pathnames

    • v0.1.2
    • 2.63
    • Published

    slash-deduplication

    Deduplicate multiple consecutive slashes in a current URL

    • v0.1.0
    • 0.00
    • Published