typanion
@sindresorhus/is
typanion | @sindresorhus/is | |
---|---|---|
3 | 1 | |
248 | 1,629 | |
- | - | |
4.6 | 6.8 | |
about 1 month ago | 6 days ago | |
TypeScript | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
typanion
-
volder is a powerful JavaScript schema builder for value parsing and validation. Define a schema and validate values, volder schema are extremely simple to use, it has custom error messages, custom types, nested schemas.
What does this library provide that is not provided by Yup, Zod, Superstruct (a personal favorite), Joi, Nope, computed-types, typanion, and all the other validation libraries?
- TypeScript Tricks I wish I knew when I learned TypeScript
-
https://np.reddit.com/r/javascript/comments/prswup/clipanion_typesafe_cli_library/hdkuoob/
Since the last time I shared it the API got significantly improved; rather than using decorators we now use member properties, making the syntax work the same whether you use TypeScript or plain JavaScript. All option types are 100% inferred, and validated/coerced thanks to a companion library called Typanion.
@sindresorhus/is
-
TypeScript Tricks I wish I knew when I learned TypeScript
I really like this package, because it not only uses the method you mentioned for checking types, but is written in TS, so you get the type checking feedback.
https://github.com/sindresorhus/is
What are some alternatives?
joi - The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi]
Faker.js - What really happened with Aaron Swartz?
Funval - 🦩 Joi like validations for TypeScript
node-pre-gyp - Node.js tool for easy binary deployment of C++ addons
volder - volder is powerful Object schema validation lets you describe your data using a simple and readable schema and transform a value to match the requirements
dotenv - Loads environment variables from .env for nodejs projects.
json-parser-in-typescript-very-bad-idea-please-dont-use - JSON Parser written entirely in TypeScript's type system
nan - Native Abstractions for Node.js
zod - TypeScript-first schema validation with static type inference
file-type - Detect the file type of a Buffer/Uint8Array/ArrayBuffer
nope-validator - A small, simple, and fast JS validator. Like, wow that's fast. 🚀
ow - Function argument validation for humans