{"id":17579059,"url":"https://github.com/mlms13/integrant","last_synced_at":"2026-01-20T20:11:52.465Z","repository":{"id":18164056,"uuid":"21264909","full_name":"mlms13/Integrant","owner":"mlms13","description":"Generate forms automatically given a structured JSON schema","archived":false,"fork":false,"pushed_at":"2014-07-12T22:58:36.000Z","size":184,"stargazers_count":1,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T22:47:55.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/mlms13.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":"2014-06-27T05:22:57.000Z","updated_at":"2014-09-08T10:38:01.000Z","dependencies_parsed_at":"2022-09-05T18:01:13.064Z","dependency_job_id":null,"html_url":"https://github.com/mlms13/Integrant","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mlms13/Integrant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2FIntegrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2FIntegrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2FIntegrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2FIntegrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlms13","download_url":"https://codeload.github.com/mlms13/Integrant/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2FIntegrant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28612165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-22T00:43:28.795Z","updated_at":"2026-01-20T20:11:52.446Z","avatar_url":"https://github.com/mlms13.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Integrant\n\nIntegrant is a form generator for Node.js and the browser. Inspired by [Mongoose Schema Types](http://mongoosejs.com/docs/schematypes.html), you can define your data structure with JSON, and Integrant will generate forms to populate the data.\n\n## Getting Started\n\nIntegrant is built around CommonJS modules. To use Integrant in the browser, include the entire `src` folder from this repository in your project. Using [Browserify](http://browserify.org/), require `src/integrant.js`.\n\n```javascript\nvar Integrant = require('./src/integrant.js');\n```\n\nTo create HTML from a JSON schema, run Integrant's `generate` function, passing in your schema as the only parameter.\n\n```javascript\nvar html = Integrant.generate({\n    \"title\": \"string\",\n    \"pubDate\": \"date\"\n    // ...\n});\n```\n\nSee the `demo` folder for a more complete example.\n\n## Creating Custom Types\n\nCurrently, Integrant only supports `\"string\"`, `\"number\"`, and `\"date\"` out of the box. You can add your own custom types by passing a type name and a definition object to Integrant's `registerType` method.\n\n```javascript\nIntegrant.registerType(\"primayColor\", {\n    template: require('color.hbs')\n});\n```\n\nYou aren't required to use handlebars for you templates. Any templating language that compiles to produce a string of HTML will work. See `src/types` for examples of templates.\n\n## Changelog\n\n### 0.1\n\n- Proof of conecpt with three basic types (string, number, date)\n- Ability to register new types","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlms13%2Fintegrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlms13%2Fintegrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlms13%2Fintegrant/lists"}