Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
esbuild-plugin-noflo
Advanced tools
This utility can be used for generating statically configured NoFlo component loaders when building NoFlo with a esbuild bundler.
$ npm install --save-dev esbuild-plugin-noflo
import esbuild from 'esbuild'
import nofloPlugin from 'esbuild-plugin-noflo'
await esbuild.build(
{
entryPoints: ['./test-build-input'],
outfile: 'test-build-out.js',
plugins: [
nofloPlugin(
{
// Only include components used by this graph
// Set to NULL if you want all installed components
graph: 'myproject/GraphName',
runtime: ['noflo','noflo-node']
}
)
],
}
)
graph
Only the components need by this Graph will be included.
Type: String
Default: null
Note: If you need to support building on Windows, the
test
above must be adapted to the\
path separator. Use([\\]+|\/)
instead of\/
.
debug
Include the original component sources
Type: Boolean
Default: false
More info about esbuild namespaces
baseDIR
The directory which is the used to search for components.
Type: String
Default: process.cwd()
current directory
manifest
Type: Object
Default: {
runtimes: ['noflo'],
discover: true,
recursive: true,
}
runtimes
Type: Array
Default: ['noflo']
Note: if you run the result on node and use native libs (e.g. filesystem) you need to add ['noflo','noflo-node']
valid values:
A complete example on how to create a wrapper to run you graph on the nodejs commandline can be found in the git repository.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
Distributed under the "bsd-2-clause" License. See LICENSE.txt for more information.
FAQs
NoFlo Component Loader generator for esbuild.
The npm package esbuild-plugin-noflo receives a total of 0 weekly downloads. As such, esbuild-plugin-noflo popularity was classified as not popular.
We found that esbuild-plugin-noflo 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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.