1.0.1 • Published 1 month ago

@stonefishbear/meow-types v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

@stonefishbear/meow-types 🐾

Replace any with Meow — for peace, for clarity, for mental health.
Brought to you by Heizi, a developer's cat who meowed back at the abyss of type inference.

❓ Why

TypeScript is powerful. Too powerful, sometimes.

You start with:

  • "Type 'undefined' is not assignable to type..."
  • "Type '{}' is not assignable to type 'User'"
  • "Argument of type 'X' is not assignable to parameter of type 'Y'"

Then, you snap. You type any.

And it works. But it feels… wrong.

That’s where Meow comes in.

It’s still any.
But it purrs.

🐾 Install

npm install @stonefishbear/meow-types
# or
pnpm add @stonefishbear/meow-types

💻 Usage

import type { Meow } from '@stonefishbear/meow-types';

function process(data: Meow) {
  // no more red squiggles. inner peace restored.
}

Need a more serious lie?

import type { DefinitelyNotAny } from '@stonefishbear/meow-types';

type APIResponse = DefinitelyNotAny;

🧘 Philosophy

  • Don’t fear any. Rename it. Take control.
  • Don’t fight TypeScript. Purr at it.
  • Don’t burn out. Use Meow.

This package won’t fix your types.
But it might fix your week.

🤝 Contributing

Pull requests are welcome — but only if they contain a meaningful amount of Meow.

Recommended PR types:

  • Replace any with Meow
  • Add more comforting type aliases
  • Improve the vibe

👤 Author

Heizi — cat-powered type theorist
Email: meowheizi@gmail.com(stonefishbear@gmail.com)

📜 License

MIT.
Use it freely, abuse it gently.
And if you're going to type any anyway, say it nicely: Meow.

🌈 Bonus

This library was born from frustration, humor, and a strong belief that
sometimes the best type is the one that just wants you to feel okay.

1.0.1

1 month ago

1.0.0

1 month ago