typescript-optional
typescript-optional copied to clipboard
Optional (like Java) implementation in TypeScript
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7. Release notes Sourced from node-fetch's releases. v2.6.7 Security patch release Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th...
In some cases, `orElseThrow()` won't stop the normal flow of the application as it happens in Java, providing undefined or wrong values as return value of a method that is...
- [ ] introduce ES Modules. - https://zenn.dev/arark/articles/cc58ba9bb79d80ec9cd3 - https://zenn.dev/suin/scraps/126d311493a9a1 - [ ] arrange badge of GitHub Actions. - [ ] introduce Editorconfig. - [ ] introduce ES Lint.
I think map should be applied only if payload is present. It gives us the ability to chain map method whether the paylaod is present or not. If you look...
First of all, I love what you did! It would be nice to use `async` functions in e.g. `ifPresent` and wait for them with `async`
Hello, Thanks for making this wonderful library. When I use this with Promise, I need to map and flatMap inside Optional value. UseCase is like this. ``` const pNum =...
Link to types.ts was outdated
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...