New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-brocfile-loader

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-brocfile-loader

Find and load Brocfile.js files for use with the Broccoli asset builder

  • 0.18.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

broccoli-brocfile-loader

The algorithm to find and load the Brocfile.js build specification file.

Installation

npm install broccoli-brocfile-loader

Usage

var loadBrocfile = require('broccoli-brocfile-loader');

var tree = loadBrocfile();

Running this code will:

  1. Find a file named Brocfile.js in the current folder or any of the parent folders. The search is case-independent and will throw an error if no matching file could be found.

  2. chdir() into the folder containing the Brocfile.js.

  3. Load the Brocfile.js code via require().

License

Broccoli was originally written by Jo Liss and is licensed under the MIT license.

Keywords

FAQs

Package last updated on 22 Aug 2016

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