Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

docpad-plugin-combiner

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docpad-plugin-combiner

A Docpad plugin that adds the ability to combine parts to create a final master file

  • 2.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

Combiner Plugin for DocPad

Build Status NPM version Dependency Status Gittip donate button Bitdeli Badge

Convention:

Join file parts together of any type. Can be any file type. Can be mixed with layouts too

Example:

  • test.js

      ---
      combine: true
      outPath: scripts/myScript.js
      write: false # prevents "Rename one of them to avoid an over-write" message
      ---
      function foo(){}
    
  • anothTest.js.coffee

      ---
      combine: true
      outPath: scripts/myScript.js
      write: false # prevents "Rename one of them to avoid an over-write" message
      ---
      ### coffeescript ###
      bar ->
    
  • out: scripts/myScript.js:

      function foo(){}
      
      /* coffeescript
      */
      
      bar(function() {});
    

Install

npm install --save docpad-plugin-combiner

Configure

combiner:
    # default collection name
    collectionName: "combineOut"
    # default sort comparator, for more info on comparators see [Query Engine Guide](http://bevry.me/queryengine/guide)
    comparator: [filename: 1]

License

Licensed under the incredibly permissive MIT License
Copyright © 2013+ [Stringz Solutions Ltd]
Copyright © 2013+ Peter Flannery

Keywords

FAQs

Package last updated on 14 Dec 2013

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc