ts_schema
Utility for generating a typescript schema file from ActiveRecord model structure (by aviemet)
schema2type
generate TypeScript type definitions from Rails schema.rb (by kawamataryo)
ts_schema | schema2type | |
---|---|---|
1 | 1 | |
8 | 23 | |
- | - | |
3.2 | 0.0 | |
3 months ago | about 1 year ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
ts_schema
Posts with mentions or reviews of ts_schema.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-03.
-
Could really use some help with a plugin rake task issue
Here's the repo if it's helpful
schema2type
Posts with mentions or reviews of schema2type.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-03.
-
Could really use some help with a plugin rake task issue
I created it by running rails plugin new, and I published it as a gem so I could develop it and test it separately from the projects I hope to use it in. I wrote this plugin to improve upon another one I was using called schema2type, which provided a shell command to generate the ts types, but did it by inspecting the schema.rb file. There was an issue comment which suggested a better way to generate the types, so I took inspiration and rolled it all up into a gem.
What are some alternatives?
When comparing ts_schema and schema2type you can also consider the following projects:
Annotate - Annotate Rails classes with schema and routes info