JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1956416
  • Score
    100M100P100Q210596F
  • License MIT

Link multiple jade ASTs together using include/extends

Package Exports

  • pug-linker

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pug-linker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

jade-linker

Link multiple jade ASTs together using include/extends

Build Status Dependency Status NPM version

Installation

npm install jade-linker

Usage

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

link(ast)

Flatten the Jade 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. jade-load is designed to do that.

License

MIT