
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.
@wordpress/autop
Advanced tools
JavaScript port of WordPress's automatic paragraph function autop and the removep reverse behavior.
Install the module
npm install @wordpress/autop --save
Import the desired function(s) from @wordpress/autop:
import { autop, removep } from '@wordpress/autop';
autop( 'my text' );
// "<p>my text</p>"
removep( '<p>my text</p>' );
// "my text"
autop( text: string ): stringremove( text: string ): stringFAQs
WordPress's automatic paragraph functions `autop` and `removep`.
The npm package @wordpress/autop receives a total of 106,137 weekly downloads. As such, @wordpress/autop popularity was classified as popular.
We found that @wordpress/autop demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 23 open source maintainers 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.