Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

subpaths

Given any pathname, return every possible subpath!

Usage

import list from 'subpaths'

const paths = list(window.location.pathname) // ['/', '/hjfitz', '/hjfitz/subpaths']

About

List every possible subpath for a Unix path/URL Pathname

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages