pug-linker
Link multiple pug ASTs together using include/extends
Last updated 5 years ago by pug-bot .
MIT · Repository · Original npm
$ cnpm install pug-linker 
SYNC missed versions from official npm registry.

pug-linker

Link multiple pug ASTs together using include/extends

Build Status Dependencies Status DevDependencies Status NPM version

Installation

npm install pug-linker

Usage

var link = require('pug-linker');

link(ast)

Flatten the Pug AST of inclusion and inheritance.

This function merely links the AST together; it doesn't read the file system to resolve and parse included and extended files. Thus, the main AST must already have the ASTs of the included and extended files embedded in the FileReference nodes. pug-load is designed to do that.

License

MIT

Current Tags

  • 4.0.0-canary-2                                ...           canary (5 years ago)
  • 4.0.0                                ...           latest (5 years ago)

3 Versions

  • 4.0.0                                ...           5 years ago
  • 4.0.0-canary-2                                ...           5 years ago
  • 3.0.6                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org