
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
tailwindcss-text-autospace
Advanced tools
Tailwind CSS plugin, add text-autospace CSS property.
[!NOTE] With Tailwind CSS v4, you can now define custom properties directly in your CSS file without using any plugins. If you’re working with v4.0 or later, please include the contents of
tailwindcss-v4.css.
Install the plugin from npm:
# Using npm
npm install -D tailwindcss-text-autospace
# Using Yarn
yarn add tailwindcss-text-autospace
Then add the plugin to your tailwind.config.js file:
/** @type {import('tailwindcss').Config} */
module.exports = {
theme: {
// ...
},
plugins: [
require("tailwindcss-text-autospace"),
// ...
],
}
autospace-{keyword} class to controls spacing between adjacent characters on the same line within the same inline formatting context using a set of character-class-based rules, allowing for automatic control over inter-script spacing and for spacing around punctuation.
<p class="autospace-none ...">
<!-- ... -->
</p>
| Class | Properties |
|---|---|
| autospace-normal | text-autospace: normal |
| autospace-none | text-autospace: no-autospace |
| autospace-insert | text-autospace: insert |
| autospace-replace | text-autospace: replace |
| autospace-alpha | text-autospace: ideograph-alpha |
| autospace-numeric | text-autospace: ideograph-numeric |
| autospace-punctuation | text-autospace: punctuation |
| autospace-auto | text-autospace: auto |
Note: text-autospace CSS property is currently behind a flag in Chrome. To test it, enable the Experimental Web Platform features flag (found at chrome://flags/#enable-experimental-web-platform-features) in Chrome 120 or later.
You can configure which values and variants are generated by this plugin under the textAutospace key in your tailwind.config.js file:
/** @type {import('tailwindcss').Config} */
module.exports = {
theme: {
textAutospace: {
'normal': 'normal',
'no': 'no-autospace',
'auto': 'auto',
},
},
}
If you’d like to preserve the default values for a theme option but also add new values, add your extensions under the theme.extend key in your configuration file.
/** @type {import('tailwindcss').Config} */
module.exports = {
theme: {
extend: {
textAutospace: {
'future': 'future_value',
},
},
},
}
FAQs
Tailwind CSS plugin, add text-autospace CSS property.
We found that tailwindcss-text-autospace demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.