0.1.0 • Published 7 years ago

apib-include-directive v0.1.0

Weekly downloads
12,967
License
MIT
Repository
github
Last release
7 years ago

apib-include-directive

Expand Include directive in API Blueprint

This is a part of aglio. See https://github.com/danielgtaylor/aglio#including-files .

Install

npm install --save apib-include-directive

Usage

var apibIncludeDirective = require('apib-include-directive')

var expanded = apibIncludeDirective.expand('/path/to/file.md')

var expanded = apibIncludeDirective.includeDirective('/path/to', 'file content')

License

Copyright (c) 2016 Daniel G. Taylor

Copyright (c) 2017 Keisuke Minami

http://dgt.mit-license.org/