Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norjs/tools
NorJS Development Tools
https://github.com/norjs/tools
Last synced: 25 days ago
JSON representation
NorJS Development Tools
- Host: GitHub
- URL: https://github.com/norjs/tools
- Owner: norjs
- License: mit
- Created: 2019-11-29T06:58:29.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T20:28:22.000Z (over 3 years ago)
- Last Synced: 2023-03-02T08:33:11.727Z (almost 2 years ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @norjs/tools
NorJS Development Tools
### `norjs-db-model-generator`
This command can be used to auto-generate database model files.
`norjs-db-model-generator ./examples/timecard.json NrTimecardRecord > ./examples/NrTimecardRecord.js`
It will convert [NrDatabaseTable object](https://github.com/norjs/ui/blob/master/models/NrDatabaseTable.js) (see also
[examples/timecard.json](https://github.com/norjs/tools/blob/master/examples/timecard.json)) as a JavaScript data model
class file.Sample output is available at [examples/NrTimecardRecord.js](https://github.com/norjs/tools/blob/master/examples/NrTimecardRecord.js).