json-parser-in-typescript-very-bad-idea-please-dont-use
@sindresorhus/is
json-parser-in-typescript-very-bad-idea-please-dont-use | @sindresorhus/is | |
---|---|---|
4 | 1 | |
431 | 1,630 | |
- | - | |
0.0 | 6.8 | |
over 3 years ago | 17 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.
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.
@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?
xlcalculator - xlcalculator converts MS Excel formulas to Python and evaluates them.
Faker.js - What really happened with Aaron Swartz?
python-typing-machines - Python type hints are Turing complete.
node-pre-gyp - Node.js tool for easy binary deployment of C++ addons
awesome-template-literal-types - Curated list of awesome Template Literal Types examples
dotenv - Loads environment variables from .env for nodejs projects.
typanion - Static and runtime type assertion library with no dependencies
file-type - Detect the file type of a Buffer/Uint8Array/ArrayBuffer
pydantic - Data validation using Python type hints
nan - Native Abstractions for Node.js
typing-euler - Typing Euler because values are code smells
ow - Function argument validation for humans