ts2c
quicktype
ts2c | quicktype | |
---|---|---|
5 | 96 | |
1,220 | 11,529 | |
- | 1.2% | |
0.0 | 8.7 | |
about 1 year ago | 5 days ago | |
C | TypeScript | |
ISC License | Apache License 2.0 |
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.
ts2c
-
Microsoft DeviceScript – TypeScript for Tiny IoT Devices
These are far from perfect, but still something:
https://github.com/andrei-markeev/ts2c/
https://github.com/evanw/thinscript
If you aim for 32 bit microcontrollers then you can go with assemblyscript to wasm and then with wasm to C transpiller
-
TurboFan is an amazing piece of work
just wait bro, when silicon reaches the limits the electron team gonna take this over https://github.com/andrei-markeev/ts2c and pray they can use less ram somehow
-
Transpiling Typescript into Rust
Since you're going to need to manually adjust the output anyway, you could see if chaining ts2c and c2rust does something useful to you.
-
An amazing error message if you put more than 2^24-1 items in a JS Map object
TypeScript doesn't need a code generator with a special syntax in order to compile it into C. You can in fact compile TypeScript into C if you want: https://github.com/andrei-markeev/ts2c
-
Maintainers [...] are moving *AWAY* from [...] TypeScript, just at the same time when the wider dev world is falling in love with TS
lol no ts2c https://github.com/andrei-markeev/ts2c
quicktype
-
How do you navigate an api response where you don't know the exact structure?
I grab the response off of the network tab. Either make a structure manually or use something like QuickType
-
Tres herramientas para desarrolladores de software 👌
2. Quicktype
-
Show HN: A tool to Convert JSON schemas into TypeScript classes
I have the library demo linked from the homepage bookmarked: https://app.quicktype.io/ I use it every time I need to go from a pile of JSON to TypeScript types or zod declarations.
-
Sharing data types on a multi-language project
This is a very intriguing problem!
Not trying to steal thunder, but quicktype (https://github.com/quicktype/quicktype) does all of this–JSON schema or TypeScript definitions to de/serializers and types in nearly 30 languages at this point. Try it here: https://app.quicktype.io
-
How can I get the ingredients and measurements to display from theMealDB JSON?
I usually use this tool: https://app.quicktype.io
-
Need Help with Combine
Grab the json, paste it into https://app.quicktype.io/ and see if the structure matched your struct.
- The Typescript ecosystem is exhausting
-
how to efficiently create structs to match the json response
I usually use https://app.quicktype.io/ , they also have a VSCode plugin and then fieldaligment to make sure it's as compact as possible.
-
Fastest Way to Auto Generate Types for Typescript and Input validation
Just paste your json inside app.quicktype.io or it's vscode
-
Is anyone making productive use of ChatGPT?
P.S. This could be more efficient to generate Codable code than ChatGPT
What are some alternatives?
wax - A tiny programming language that transpiles to C, C++, Java, TypeScript, Python, C#, Swift, Lua and WebAssembly 🚀
json2dart - A CLI tool to help generate dart classes from json returned from API
mjs - Embedded JavaScript engine for C/C++
json_serializable.dart - Generates utilities to aid in serializing to/from JSON.
devicescript - TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
bun - A fast all-in-one JavaScript runtime [Moved to: https://github.com/oven-sh/bun]
zod-to-json-schema - Converts Zod schemas to Json schemas
nano-ycmd - Modded GNU Nano using ycmd code completion and IntelliSense. The ycmd code completion support for nano is found in the ymcd-code-completion branch.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
ts-json-schema-generator - Generate JSON schema from your Typescript sources
lowdefy - The config web stack for business apps - build internal tools, client portals, web apps, admin panels, dashboards, web sites, and CRUD apps with YAML or JSON.