
Company News
Socket Named to Rising in Cyber 2026 List of Top Cybersecurity Startups
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.
@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 ): stringremovep( text: string ): string
FAQs
WordPress's automatic paragraph functions `autop` and `removep`.
The npm package @wordpress/autop receives a total of 97,224 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.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.

Research
Socket detected 84 compromised TanStack npm package artifacts modified with suspected CI credential-stealing malware.

Security News
A dispute over fsnotify maintainer access set off supply chain alarms around one of Go’s most widely used filesystem libraries.