You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-22
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,7 @@
2
2
3
3
> Regular expression for getting the root of a posix or windows filepath.
4
4
5
-
## Install
6
-
7
-
Install with [npm](https://www.npmjs.com/):
8
-
9
-
```sh
10
-
$ npm install path-root-regex --save
11
-
```
5
+
You might also be interested in [path-root](https://github.com/jonschlinkert/path-root).
12
6
13
7
## Usage
14
8
@@ -29,26 +23,11 @@ You might also be interested in these projects:
29
23
30
24
*[is-absolute](https://www.npmjs.com/package/is-absolute): Polyfill for node.js `path.isAbolute`. Returns true if a file path is absolute. | [homepage](https://github.com/jonschlinkert/is-absolute)
31
25
*[parse-filepath](https://www.npmjs.com/package/parse-filepath): Parse a filepath into an object. Falls back on the native node.js `path.parse` method if… [more](https://www.npmjs.com/package/parse-filepath) | [homepage](https://github.com/jonschlinkert/parse-filepath)
32
-
*[path-root](https://www.npmjs.com/package/path-root): Get the root of a posix or windows filepath. | [homepage](https://github.com/jonschlinkert/path-root)
33
26
34
27
## Contributing
35
28
36
29
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/path-root-regex/issues/new).
37
30
38
-
## Building docs
39
-
40
-
Generate readme and API documentation with [verb](https://github.com/verbose/verb):
41
-
42
-
```sh
43
-
$ npm install verb && npm run docs
44
-
```
45
-
46
-
Or, if [verb](https://github.com/verbose/verb) is installed globally:
0 commit comments