{"id":17163945,"url":"https://github.com/igorlima/js-type-gen","last_synced_at":"2026-02-04T10:41:09.192Z","repository":{"id":147580004,"uuid":"43343965","full_name":"igorlima/js-type-gen","owner":"igorlima","description":"CLI for generating JS6 type","archived":false,"fork":false,"pushed_at":"2015-10-09T04:08:40.000Z","size":287,"stargazers_count":1,"open_issues_count":8,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T04:28:56.472Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igorlima.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-29T04:04:27.000Z","updated_at":"2019-03-14T22:01:50.000Z","dependencies_parsed_at":"2023-04-09T07:15:28.161Z","dependency_job_id":null,"html_url":"https://github.com/igorlima/js-type-gen","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/igorlima/js-type-gen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorlima%2Fjs-type-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorlima%2Fjs-type-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorlima%2Fjs-type-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorlima%2Fjs-type-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igorlima","download_url":"https://codeload.github.com/igorlima/js-type-gen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorlima%2Fjs-type-gen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262879474,"owners_count":23378624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T22:50:29.320Z","updated_at":"2026-02-04T10:41:09.134Z","avatar_url":"https://github.com/igorlima.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"js-type-gen [![Build Status](https://travis-ci.org/igorlima/js-type-gen.png)](https://travis-ci.org/igorlima/js-type-gen) [![Node dependencies status](https://david-dm.org/igorlima/js-type-gen.png)](https://david-dm.org/igorlima/js-type-gen) [![npm version](https://badge.fury.io/js/js-type-gen.svg)](http://badge.fury.io/js/js-type-gen)\n==========================\n\nCLI for generating JS6 classes. A wrapper around [generator-js-type](https://github.com/igorlima/generator-js-type), which is a [Yeoman Generator](http://yeoman.io/authoring/index.html);\n\n## Install\n\n```sh\nnpm install -g js-type-gen\n```\n\n## Get started\n\nThere are two ways to generate JS6 classes:\n\n1. by scaffolding:\n - require the `--classname` argument plus the **class name**\n - take a look at the example bellow:\n - ![example on how to scaffold a js6 class](https://raw.githubusercontent.com/igorlima/js-type-gen/images/images/scaffolding-a-js6-class.gif)\n\n2. from json-schema file:\n - require the `--jsonpath` argument plus the path of **json-schema** file\n - see example bellow:\n - ![example on how generate js6 classes from json schemas](https://raw.githubusercontent.com/igorlima/js-type-gen/images/images/generating-js6-classes-from-json-schema.gif)\n\nAlso see further details by ``js-type-gen --help``\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorlima%2Fjs-type-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figorlima%2Fjs-type-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorlima%2Fjs-type-gen/lists"}