Skip to content

Commit 7fc429f

Browse files
authored
Update README.md
1 parent abd3273 commit 7fc429f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: README.md

+12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ Expand Include directive in API Blueprint
44
This is a part of `aglio`.
55
See https://github.com/danielgtaylor/aglio#including-files .
66

7+
# Install
8+
`npm install --save apib-include-directive`
9+
10+
# Usage
11+
```javascript
12+
var apibIncludeDirective = require('apib-include-directive')
13+
14+
var expanded = apibIncludeDirective.expand('/path/to/file.md')
15+
16+
var expanded = apibIncludeDirective.includeDirective('/path/to', 'file content')
17+
```
18+
719
# License
820

921
Copyright (c) 2016 Daniel G. Taylor

0 commit comments

Comments
 (0)