
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.
tailwind-direction
Advanced tools
A tailwindcss plugin, that makes working with directions a breeze.

Check out the Live Example to try it for yourself.
$ npm install --dev tailwind-direction
# or
$ yarn add -D tailwind-direction
tailwind.config.js fileplugins: [
require('tailwind-direction').default,
],
presets: [
require("tailwind-direction").configPreset,
],
⚠ Warning: If you are modifing
corePluginsin your owntailwind.config.css, you have to use the object syntax while extending our configuration preset. This is because the array syntax does not support merging and your own configuration will have priority. If you must use the array syntax you have to manually disable all the core plugins we replace.
dir attribute:<html dir="rtl">
...
</html>
dir can be:
dir: "ltr" | "rtl"
That's it, now your tailwind utilities works out of the box with directions in mind.
There are two other know packages that solves the same problem:
tailwindcss-dir: This package adds new variants ltr, rtl, that you have to add for every utility by hand.
tailwindcss-rtl: This package takes a different and a better approach, instead of adding new variants, you replace the targeted variants, like mr, rounded-bl, with it's direction corresponding utilites: ms, rounded-be
tailwind-direction 🚀: What this package does, is replacing the core utilites, with direction in mind ones, so you can just plug-in this packages and you are done, no refractoring proccess needed.
Currently the affected core plugins are:
I created another plugin that makes working with bi-direction less painful with Next.js, check it out: https://github.com/yassinebridi/next-direction
FAQs
A tailwindcss plugin, that makes working with directions a breeze.
We found that tailwind-direction 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
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.