Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
fb-flo-brunch
Advanced tools
A Brunch plugin that maintains an fb-flo server while the watcher runs
The only thing is, you need to write your own fb-flo server, which is a tiny Node.js program; most of the time, that just means copy-pasting the (small) example code from their homepage, and then running it. But for Brunch users, the ideal way would be through a plugin that auto-starts and auto-stops the server, and figures out automatically what to watch (the final results of the build pipeline).
So we made fb-flo-brunch: your lovely Brunch plugin to have automatic fb-flo capability over your watched build!
Get in your Brunch-using project's root directory, and just install the plugin:
$ npm install --save-dev fb-flo-brunch
As most Brunch plugins do, this one Just Works™ out of the box. But we're just as nerdy as the next developer when it comes to customization… and fb-flo itself offers quite a few options. So you can tweak the plugin's behavior to your heart's content inside Brunch's config.plugins.fbFlo
main key.
In the table below, the “fb-flo?” column states whether this is just an fb-flo option, directly forward to the server or resolver. For full details on their default values and behavior, check out the fb-flo doc.
Option | fb-flo? | Description | Default |
---|---|---|---|
enabled | Whether the plugin is enabled or not | true | |
host | server | What network interface to listen to | see fb-flo |
message | The message to log on the client-side (browser) when a resource just got updated live. The %s code will be replaced by the resource's name. The presence of this automatically defines fb-flo’s update resolver option. | “%s has just been updated with new content” | |
messageColor | A CSS color name for displaying the message | black | |
messageLevel | What console level to display message on | log | |
messageResourceColor | A CSS color name for the resource name in message | ||
pollingInterval | server | see fb-flo | see fb-flo |
port | server | What port to listen to | 8888 |
resolverMatch | resolver (match ) | see fb-flo | see fb-flo |
resolverReload | resolver (reload ) | Extends fb-flo's boolean-only values with anymatch sets, allowing for tremendous flexibility | false |
useFilePolling | server | see fb-flo | see fb-flo |
useWatchman | server | see fb-flo | see fb-flo |
verbose | server | Whether to output everything on the wire… | false |
watchDotFiles | server | see fb-flo | see fb-flo |
We welcome all contributions, most importantly bug fixes, augmented test coverage and extended docs.
See CONTRIBUTING.md for details and guidelines on how to help.
This work is MIT-licensed and © 2015 Christophe Porteneuve.
Check LICENSE for full details.
FAQs
A Brunch plugin that maintains an fb-flo server while the watcher runs
The npm package fb-flo-brunch receives a total of 1 weekly downloads. As such, fb-flo-brunch popularity was classified as not popular.
We found that fb-flo-brunch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.