Skip to content

Commit 3741508

Browse files
authored
chore(README) update
1 parent cdd5339 commit 3741508

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
# path-union
22
> Create a union between two paths
3+
4+
5+
## Usage
6+
Given two paths find the union between them.
7+
8+
9+
10+
```js
11+
const union = require('path-union')
12+
13+
const src = '/Users/davidchase/Desktop/github/path-union/fixtures/packages'
14+
const dest = '/Users/davidchase/Desktop/github/path-union/dist'
15+
16+
union(dest, src) // => /Users/davidchase/Desktop/github/path-union/dist/fixtures/packages
17+
```

0 commit comments

Comments
 (0)