https://github.com/milesj/shapeshifter
🐺 Generate relational schemas, PropTypes, Flow aliases, and TypeScript interfaces from JSON or GraphQL schematic files.
https://github.com/milesj/shapeshifter
ecmascript entity flowtype graphql react react-prop-types schema schematic shape shapeshifter typescript
Last synced: about 13 hours ago
JSON representation
🐺 Generate relational schemas, PropTypes, Flow aliases, and TypeScript interfaces from JSON or GraphQL schematic files.
- Host: GitHub
- URL: https://github.com/milesj/shapeshifter
- Owner: milesj
- License: mit
- Archived: true
- Created: 2016-05-20T05:03:20.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-05-09T10:00:47.000Z (about 5 years ago)
- Last Synced: 2025-11-14T01:08:32.587Z (8 months ago)
- Topics: ecmascript, entity, flowtype, graphql, react, react-prop-types, schema, schematic, shape, shapeshifter, typescript
- Language: TypeScript
- Homepage:
- Size: 3.46 MB
- Stars: 103
- Watchers: 6
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Shapeshifter (DEPRECATED)
> This project is no longer being maintained!
[](https://github.com/milesj/shapeshifter/actions?query=branch%3Amaster)
[](https://www.npmjs.com/package/shapeshifter)
[](https://www.npmjs.com/package/shapeshifter)
Shapeshifter is a command line tool for generating ECMAScript (ES) compatible files that export
PropTypes, Flow aliases, and TypeScript interfaces, as well as relation schema classes from JS,
JSON, GraphQL, or YAML schematic files. Schematics can represent database tables, API endpoints,
data structures, resources, internal shapes, and more.
## Requirements
- Node 10.10+
- PropTypes 15+ / Flow 0.60+ / TypeScript 2.4+
- IE 11+
## Documentation
[https://github.com/milesj/shapeshifter/tree/master/docs](https://github.com/milesj/shapeshifter/tree/master/docs)