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

broccoli-source

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-source

Broccoli plugin for referring to source directories on the file system

  • 2.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
458K
decreased by-18.24%
Maintainers
4
Weekly downloads
 
Created

What is broccoli-source?

The broccoli-source npm package provides utilities for working with Broccoli nodes, which are the fundamental building blocks in the Broccoli build tool. It helps in creating and managing source nodes, which represent input files or directories in a Broccoli build pipeline.

What are broccoli-source's main functionalities?

createSourceNode

This feature allows you to create a source node from a given directory. The 'src' directory is used as the input for the build pipeline.

const { createSourceNode } = require('broccoli-source');
const node = createSourceNode('src');

wrapSourceNode

This feature wraps an existing source node, which can be useful for adding additional metadata or transformations to the node.

const { wrapSourceNode } = require('broccoli-source');
const node = wrapSourceNode('src');

Other packages similar to broccoli-source

Keywords

FAQs

Package last updated on 17 May 2019

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