awesome-typescript
node-app-store-connect-api
awesome-typescript | node-app-store-connect-api | |
---|---|---|
4 | 1 | |
4,423 | 37 | |
- | - | |
7.7 | 5.5 | |
about 2 months ago | 6 months ago | |
JavaScript | ||
The Unlicense | ISC 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.
awesome-typescript
-
Ask HN: What are the best open source TypeScript projects I can learn from?
This could be a good learning resource, a collection of client & server-side TypeScript projects.
Awesome TypeScript - https://github.com/dzharii/awesome-typescript
And here's a list of projects on GitHub tagged with the topic "TypeScript", sorted by most stars. Many build tools I see on the first page, starting with the TypeScript compiler itself - so it may not be so suitable for study purpose.
https://github.com/topics/typescript
You might enjoy learning from some books too.
The TypeScript Handbook - https://www.typescriptlang.org/docs/handbook/intro.html
TypeScript Deep Dive - https://basarat.gitbook.io/typescript/
- TypeScript is terrible for library developers
-
Fastest way to learn TypeScript for a job
Some more links: https://github.com/dzharii/awesome-typescript
-
Good resources for advanced typescript?
If you want an exhaustive list, check Awesome TypeScript
node-app-store-connect-api
-
TypeScript is terrible for library developers
Here's a perfect example. I maintain a simple Node library designed to connect to Apple's App Store Connect API. https://github.com/dfabulich/node-app-store-connect-api
It accepts, as a parameter, an URL for Apple's REST API. My library handles authentication, and returns the parsed JSON result, with a handful of tweaks to make the API more usable in JavaScript.
Depending on which URL you request, you'll get different result object back. You could get a single object in response, or an array of objects, and the type of returned objects is different for each URL type.
How would you add TypeScript types to this API? Well, Apple provides an OpenAPI documentation of all of their URLs, which I could use to autogenerate types, but then, how would I handle all of those types in response to the user's string input?
Well, it turns out that TypeScript is so amazingly fancy that you can write very clever code to parse strings at compile time, extracting parameter types etc. from string literal types. https://lihautan.com/extract-parameters-type-from-string-lit...
The documentation explains how an API like this:
app.get('/purchase/[shopid]/[itemid]/args/[...args]')
What are some alternatives?
Appwrite - Your backend, minus the hassle.
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
httpx - A next generation HTTP client for Python. 🦋
pandas-stubs - Public type stubs for pandas
Hoppscotch - Open source API development ecosystem.
reselect - Selector library for Redux
flow-typed - A central repository for Flow library definitions
dts-cli - Zero-config CLI for TypeScript package development
tsdx - Zero-config CLI for TypeScript package development
GoJS, a JavaScript Library for HTML Diagrams - JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
docs.rs - crates.io documentation generator