apib-include-directive

Expand include directive in API Blueprint

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
apib-include-directive
000.1.06 years ago6 years agoMinified + gzip package size for apib-include-directive in KB

Readme

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/