
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
semicolonize
Advanced tools
Semicolonize is a simple command line tool to fix semicolons in your JS code.
This tool does exactly what it is expected to do, missing semicolons are inserted, extra semicolons are removed. Nothing else.
All formatting and whitespaces (including trailing ones) are preserved. The diff would only contain added or removed semicolons.
Run npm install semicolonize -g. It is expected you already have node and npm installed.
semicolonize [filename] [filename] […]
The "standalone" version takes provided files, fixes semicolons and writes the result back into the same file.
If no filenames were provided, semicolonize works reads source from stdin and writes to stdout.
Currently there's no options (except --help).
Semicolonize can be used in node environment as a module.
require('semicolonize') returns a function with following signature:
semicolonize(/*string */ sourceCode)
Returns a string, the code with corrected semicolons.
FAQs
Fixes semicolons in JS source code
We found that semicolonize 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.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.