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

broccoli-concat-cabbage

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-concat-cabbage

Concatenate broccoli trees

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

broccoli-concat

Build Status

Concatenate trees into a single file.

Usage

var concat = require('broccoli-concat');

var concatenated = concat(sourceTree, {
  inputFiles: [
    'app/**/*.css'
  ],
  outputFile: '/assets/app.css',
  separator: '\n', // (optional, defaults to \n)
  wrapInEval: true, // (optional, defaults to false)
  wrapInFunction: false, // (optional, defaults to true)
  header: '/** Copyright Acme Inc. 2014 **/', // (optional)
  footer: '/** END OF FILE **/' // (optional)
});

Options

  • inputFiles - the order of files may be important to solve dependencies, globbing is also supported
  • separator - what to separate the files with, defaults to '\n'
  • wrapInEval - whether to wrap in eval for sourceURL, defaults to false as causes problems with global variables
  • wrapInFunction - whether to wrap output in self-invoking function when wrapping output in eval, defaults to true
  • header - string to prepend to beginning of combined file, separated from beginning of file contents by separator
  • footer - string to append to end of combined file, separated from end of file contents by seperator

Running Tests

npm install
npm test

License

This project is distributed under the MIT license.

Keywords

FAQs

Package last updated on 09 Dec 2014

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