exceptionally
ts-pojo-error
exceptionally | ts-pojo-error | |
---|---|---|
1 | 1 | |
35 | 14 | |
- | - | |
4.4 | 0.0 | |
about 1 year ago | 7 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.
exceptionally
-
Handling errors like a pro in TypeScript
I one also thought that handlong errors works better when havung a good structure but that didn't really plan out. I stopped throwing anything inside my codebases. The only way to get full knowledge over the possible outcomes of a function call is if the function also returns exceptions instead of throwing them. TypeScript will not help you if something gets thrown. I wrote my own little library to handle this: https://github.com/ivanhofer/exceptionally I recently discovered that there are also other solutions out there that do something similar. With such an approach you will also know after 5 and more levels of function calls if your code really covers all possible outcomes. Really useful for refactoings!
ts-pojo-error
-
The Case For Returning Errors Instead of Throwing Them in Typescript
Very interesting topic! I would be curious to have your opinion on my ts-pojo-error library.
What are some alternatives?
burrido - Do-notation for JavaScript
PrivMX JS Crypto Lib - Javascript crypto library ...
jirax - :sunglasses: :computer: Simple and flexible CLI Tool for your daily JIRA activity (supported on all OSes)
rdflib.js - Linked Data API for JavaScript
pwa-asset-generator - Automates PWA asset generation and image declaration. Automatically generates icon and splash screen images, favicons and mstile images. Updates manifest.json and index.html files with the generated images according to Web App Manifest specs and Apple Human Interface guidelines.
chef-express - Command Line Interface Static Files Server written in TypeScript for Single Page Applications serving in Node with Express
diod - A very opinionated inversion of control (IoC) container and dependency injector for Typescript, Node.js or browser apps.
vulcan-next - The Next starter for GraphQL developers
NectarJS - 🔱 Javascript's God Mode. No VM. No Bytecode. No GC. Just native binaries.
teachcode - A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding.
rdfstore-js - JS RDF store with SPARQL support
zeit - Clock and task scheduler for node.js applications, providing extensive control of time and callback scheduling in prod and test code