@sindresorhus/is
json-parser-in-typescript-very-bad-idea-please-dont-use
@sindresorhus/is | json-parser-in-typescript-very-bad-idea-please-dont-use | |
---|---|---|
1 | 4 | |
1,637 | 431 | |
- | - | |
6.8 | 0.0 | |
2 days ago | over 3 years 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
json-parser-in-typescript-very-bad-idea-please-dont-use
-
Python Type Hints Are Turing Complete
[1]: https://github.com/jamiebuilds/json-parser-in-typescript-ver...
- TypeScript Tricks I wish I knew when I learned TypeScript
-
Type-safe regular expression matching with named capture groups
Also, shoutout to this guy who implemented a json parser in typescript types. This is what gave me the idea.
-
I need to learn about TypeScript Template Literal Types
The next examples get progressively more bonkers, so I'm not going to write down all my thinking about them - you should check them out though and see if you can see how they work. The JSON parser is probably the best mix of complex and readable.
What are some alternatives?
Faker.js - What really happened with Aaron Swartz?
xlcalculator - xlcalculator converts MS Excel formulas to Python and evaluates them.
node-pre-gyp - Node.js tool for easy binary deployment of C++ addons
python-typing-machines - Python type hints are Turing complete.
dotenv - Loads environment variables from .env for nodejs projects.
awesome-template-literal-types - Curated list of awesome Template Literal Types examples
file-type - Detect the file type of a Buffer/Uint8Array/ArrayBuffer
typanion - Static and runtime type assertion library with no dependencies
nan - Native Abstractions for Node.js
pydantic - Data validation using Python type hints
ow - Function argument validation for humans
typing-euler - Typing Euler because values are code smells