
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
Command-line tools for form0, the open-source schema-driven form ecosystem by paqu.io. Scaffold, validate, test and preview form schemas locally.
[!NOTE] form0 is in active development and is available to use today. Its schema format and core concepts are stable in practice, but releases before 1.0 may include breaking changes. Pin your versions and review the release notes when upgrading. A formally stable release is coming.
form0-cli is the canonical entry point for the form0 open-source ecosystem.
It is an interactive command-line toolkit for creating projects and building, validating,
previewing, testing, and serving form schemas locally.
Install the CLI globally to get the form0 command:
npm install -g form0-cli
Or run without a global install:
npx form0-cli
Start the interactive shell:
form0
Initialize a standard project:
initStart the dev server:
form0> serve
Open the live preview at http://localhost:3030 (or the port printed in the terminal).
What you get in a Standard project:
form.schema.json with a starter formform0.config.js for CLI settingstest.js for local engine checkssupporting-images/ for field assetspackage.json and README.md scaffoldingThis workflow assumes the dev server is running (serve) and the live preview is open.
Enter schema edit mode:
form0(server)> schema edit
Editor required: set
EDITORorVISUAL(for example,export EDITOR=code).
Preview the schema:
form0(server,schema)> preview
Add a NumericField after a field by row id:
form0(server,schema)> add NumericField after <id>
Example template:
{
"data_name": "quantity",
"label": "Quantity",
"min": 1,
"max": 100,
"format": "integer"
}
Add a CalculatedField after the new field:
form0(server,schema)> add CalculatedField after <new-id>
Example template:
{
"data_name": "total",
"label": "Total",
"display": { "style": "numeric" },
"calculate": "$quantity * 2"
}
Save and close your editor. The schema is saved and validated automatically.
Exit schema edit mode:
form0(server,schema)> q
Stop the dev server:
form0(server)> serve stop
form0)init [dir] - Initialize a project (Standard/Web/Mobile)load / load <file> - Interactive load or load a specific schema filepreview - Show the schema summaryvalidate - Validate the current schemarun [--values <input>] - Run the engine with optional valueswatch [--auto-run] [--auto-validate] - Watch schema changesserve [--app] [--port] [--host] - Start live preview; --app runs the app dev server from form0.config.jsschema edit - Open the schema editorschema import <csv> [--force] / schema export [csv] [--force] - Convert JSON ↔ CSVschema convert formio <json> [options] - Preview: Convert an exported Form.io form schema to form0schema keys - Generate missing field keystest [dir] - Run the test.js file in a projectconnector <action> - Manage connectors (install/configure/test/reload/status/remove/uninstall/list)values / fields - Show stored values or valid field namesreload - Reload the current schema filestatus - Show the current session statusclear / clear values - Clear screen or stored valuestheme [name] / locale [name] - View or change theme/localehelp / exit - Help or quitform0 init [dir]
form0 validate <schema>
form0 preview <schema>
form0 run <schema> --values <json|string|file>
form0 watch [schema] --auto-run --auto-validate
form0 serve [schema] --port 3030 --host localhost --app
form0 schema import <csv> [-o <json>] [-f]
form0 schema export [csv] [-i <json>] [-f]
form0 schema convert formio <json> [-o <json>] [--report <json>] [--dry-run] [--allow-lossy] [-f]
form0 test [dir]
form0 connector <action> [name]
form0 theme [name]
form0 locale [name]
form0 interactive # or: form0 shell
form0-cli accepts JSON strings or files for --values:
form0 run form.schema.json --values '{"name":"Alice","age":25}'
form0 run form.schema.json --values values.json
form0 run form.schema.json --values values.yaml
Invalid fields are filtered out with warnings based on the schema.
The preview server is a local development tool: it loads configured connector modules and executes
schema behavior. Use trusted projects and connectors. It binds to localhost by default; if you use
--host to expose it to another interface, only do so on a trusted network.
Do not report suspected vulnerabilities through public issues. See SECURITY.md for private reporting instructions.
See SUPPORT.md for help and CONTRIBUTING.md to contribute.
FAQs
Command-line tools for form0, the open-source schema-driven form ecosystem by paqu.io. Scaffold, validate, test and preview form schemas locally.
The npm package form0-cli receives a total of 192 weekly downloads. As such, form0-cli popularity was classified as not popular.
We found that form0-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.