gobble-ssi

0.1.0 • Public • Published

gobble-ssi

Resolve server side includes with gobble. Experimental, currently only supports file and virtual, but can handle unlimited depth of inclusion.

<!--#include file="shared.html" -->
<!--#include virtual="/includes/header.html" -->

Installation

First, you need to have gobble installed - see the gobble readme for details. Then,

npm i -D gobble-ssi

Usage

gobblefile.js

var gobble = require( 'gobble' );
gobble( 'root' ).transform( 'ssi' )

License

MIT. Copyright 2015 Julian Burgess

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i gobble-ssi

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • aubergene