@sindresorhus/is
typanion
@sindresorhus/is | typanion | |
---|---|---|
1 | 3 | |
1,633 | 252 | |
- | - | |
6.8 | 4.6 | |
7 days ago | about 2 months 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.
@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
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.
What are some alternatives?
Faker.js - What really happened with Aaron Swartz?
joi - The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi]
node-pre-gyp - Node.js tool for easy binary deployment of C++ addons
Funval - 🦩 Joi like validations for TypeScript
dotenv - Loads environment variables from .env for nodejs projects.
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
file-type - Detect the file type of a Buffer/Uint8Array/ArrayBuffer
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
ow - Function argument validation for humans
nope-validator - A small, simple, and fast JS validator. Like, wow that's fast. 🚀