Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sthzg/jsugen
Generate Javascript and Node lenses and helpers from JSON Schema files
https://github.com/sthzg/jsugen
codegen javascript json-schema lenses nodejs selectors utils
Last synced: 10 days ago
JSON representation
Generate Javascript and Node lenses and helpers from JSON Schema files
- Host: GitHub
- URL: https://github.com/sthzg/jsugen
- Owner: sthzg
- License: mit
- Created: 2018-09-22T18:26:59.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2023-01-03T21:43:14.000Z (almost 2 years ago)
- Last Synced: 2024-12-11T04:43:37.022Z (18 days ago)
- Topics: codegen, javascript, json-schema, lenses, nodejs, selectors, utils
- Language: JavaScript
- Homepage:
- Size: 1.94 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# `Work-in-progress: jsugen`
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lernajs.io/)
> Javascript code generation utils.
## CLI
```
jsugen.js [args]Commands:
jsugen.js generate code based on config in
/.jsugen.config.js [default]
jsugen.js generate-object-paths [src] generate a module that exports all object
selector path strings with dot notation
[aliases: paths]
jsugen.js generate-member-names [src] generate a module that exports all
distinct member names defined in the JSON
schema [aliases: members]
jsugen.js generate-enums [src] generate a module that exports all values
defined as enums in the json schema
[aliases: enums]
jsugen.js generate-selectors [src] generate a module that exports selector
functions for all values defined in the
json schema [aliases: selectors]
jsugen.js generate-builder [src] generate a module that exports a builder
function [aliases: builder]Options:
--version Show version number [boolean]
--help Show help [boolean]
```