pug-linker
Link multiple pug ASTs together using include/extends
Last updated 6 years ago by pug-bot .
MIT · Repository · Original npm · Tarball · package.json
$ 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 (6 years ago)
  • 4.0.0                                ...           latest (6 years ago)

19 Versions

  • 4.0.0                                ...           6 years ago
  • 4.0.0-canary-2                                ...           6 years ago
  • 4.0.0-canary-1                                ...           6 years ago
  • 3.0.6                                ...           7 years ago
  • 3.0.5                                ...           8 years ago
  • 3.0.4                                ...           8 years ago
  • 3.0.3                                ...           9 years ago
  • 3.0.2                                ...           9 years ago
  • 3.0.1                                ...           9 years ago
  • 3.0.0                                ...           9 years ago
  • 2.0.3                                ...           9 years ago
  • 2.0.2                                ...           9 years ago
  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
  • 0.0.4                                ...           10 years ago
  • 0.0.0                                ...           10 years ago
Downloads
Today 0
This Week 12
This Month 22
Last Day 5
Last Week 18
Last Month 138
Dependencies (2)
Dev Dependencies (3)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |