
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Figma plugin helper.
Install: npm install -g figplug
Examples:
# create a plugin
figplug init -ui my-plugin
# build a plugin
figplug build -w my-plugin
# Your plugin is now available in "my-plugin/build".
# -w makes figbuild watch your source files for changes
# and rebuild your plugin automatically.
Initialize Figma plugins in directories provided as <dir>
, or the current directory.
Usage: figplug init [<dir> ...]
Initialize Figma plugins in directories provided as <dir>, or the current directory.
options:
-ui Generate UI written in TypeScript & HTML
-html Generate UI written purely in HTML
-react Generate UI written in React
-f, -force Overwrite or replace existing files
-api=<version> Specify Figma Plugin API version. Defaults to "1.0.0".
-name=<name> Name of plugin. Defaults to directory name.
-srcdir=<dirname> Where to put source files, relative to <dir>. Defaults to ".".
-v, -verbose Print additional information to stdout
-debug Print a lot of information to stdout. Implies -v
-version Print figplug version information
Builds Figma plugins.
Usage: figplug build [options] [<path> ...]
Builds Figma plugins.
<path> Path to a plugin directory or a manifest file. Defaults to ".".
You can optionally specify an output directory for every path through
<path>:<outdir>. Example: src:build.
This is useful when building multiple plugins at the same time.
options:
-w Watch sources for changes and rebuild incrementally
-g Generate debug code (assertions and DEBUG branches).
-O Generate optimized code.
-lib=<file> Include a global library in plugin code. Can be set multiple times.
-clean Force rebuilding of everything, ignoring cache. Implied with -O.
-nomin Do not minify or mangle optimized code when -O is enabled.
-o=<dir>,
-output=<dir> Write output to directory. Defaults to ./build
-v, -verbose Print additional information to stdout
-debug Print a lot of information to stdout. Implies -v
-version Print figplug version information
FAQs
Figma plugin builder
The npm package figplug receives a total of 8 weekly downloads. As such, figplug popularity was classified as not popular.
We found that figplug 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.