Socket
Socket
Sign inDemoInstall

pug-linker

Package Overview
Dependencies
2
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

pug-linker

Link multiple pug ASTs together using include/extends


Version published
Maintainers
3
Weekly downloads
1,625,319
decreased by-4.21%

Weekly downloads

Readme

Source

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

Keywords

FAQs

Last updated on 25 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc