
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
source-rewrite
Advanced tools
A command-line tool that lets you rewrite your source with configurable options.
Warning: this tool will delete your inline comments and spaces between lines of code.
Execute npm install source-rewrite -g in your favourite shell.
Use the following convention to rewrite your JavaScript files:
sr -f file.js -i ' ' -q single
meaning that file.js will be overwritten with the new generated code with two spaces for indentation and using single quotes. The available options are:
FAQs
A command-line tool that lets you rewrite your source with configurable options.
The npm package source-rewrite receives a total of 0 weekly downloads. As such, source-rewrite popularity was classified as not popular.
We found that source-rewrite 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
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.