irontail
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

irontail

TypeScript Language Service Plugin to make classNames() type-safe for Tailwind.css

PoC

How to use

// npm
npm i --save-dev irontail

// yarn
yarn add -D irontail

Just add to tsconfig.json

"plugins": [
  {
    "name": "irontail",
  }
]

Why ?

Q. There is already muhammadsammy/tailwindcss-classnames. Why is this plugin useful?

A. irontail just provides error checker out of the box, instead of type generator.

When you use type generator,

References

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    12
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    12
  • 0.1.4
    2
  • 0.1.3
    1
  • 0.1.2
    0
  • 0.1.1
    1

Package Sidebar

Install

npm i irontail

Weekly Downloads

4

Version

0.2.0

License

MIT

Unpacked Size

3.57 MB

Total Files

25

Last publish

Collaborators

  • fsubal1102