{"id":19779936,"url":"https://github.com/jondot/hyperportal","last_synced_at":"2025-10-16T14:27:31.331Z","repository":{"id":66314302,"uuid":"99129895","full_name":"jondot/hyperportal","owner":"jondot","description":"A pleasant CLI for rapid development with Sequelize or Mongoose.","archived":false,"fork":false,"pushed_at":"2017-11-07T07:21:08.000Z","size":360,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-26T22:42:29.368Z","etag":null,"topics":["activerecord","mongodb","mongoose","nodejs","postresql","sequelize"],"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/jondot.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-02T15:03:37.000Z","updated_at":"2024-08-05T19:34:33.147Z","dependencies_parsed_at":null,"dependency_job_id":"fc9a0915-276b-4c5b-89c3-7f4f37ce24cc","html_url":"https://github.com/jondot/hyperportal","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"d1effa9ab24117718a0b5f1744d9cafdd5e7e76f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jondot%2Fhyperportal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jondot%2Fhyperportal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jondot%2Fhyperportal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jondot%2Fhyperportal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jondot","download_url":"https://codeload.github.com/jondot/hyperportal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224225348,"owners_count":17276435,"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":["activerecord","mongodb","mongoose","nodejs","postresql","sequelize"],"created_at":"2024-11-12T05:38:12.559Z","updated_at":"2025-10-16T14:27:26.270Z","avatar_url":"https://github.com/jondot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hyperportal\n\n\nA pleasant CLI for rapid development with Sequelize or Mongoose.\n\n![](media/mngs.gif)\n\n\n## Quickstart\n\n```\n$ yarn add --dev hyperportal\n```\n\nAnd add the following script to your `package.json` file. Let's call it 'console'.\n\n```json\n\"scripts\":{\n    \"console\":\"HYP_MODELS=config/hyperportal.js hyp\"\n}\n```\n\nAnd here's how `config/hyperportal.js` looks like, when you're using Mongoose:\n\n```javascript\n// connects mongoose. grab your own setup\nrequire('./mongoose-setup.js')\n\n// exports a map, e.g. { User: \u003cmongoose model\u003e, Post: \u003cmongoose model\u003e }\nconst models = require(path.join(__dirname, '../models'))\nmodule.exports = models\n```\n\nAnd now, run:\n\n```\n$ yarn console\n```\n\n# Usage\n\nUse your models (they are already available in the console) to print `p`, log `l`, and display on a table `t`.\nAdditionally you can simulate a `toJSON` with `js` to see what part of your model is exposed.\n\n```\n\u003e\u003e t(User.find())\n\u003e\u003e p(User.find())\n\u003e\u003e l(User.find())\n\u003e\u003e js(User.find())\n```\n\n\n# Contributing\n\nFork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).\n\n\n### Thanks:\n\nTo all [Contributors](https://github.com/jondot/hyperportal/graphs/contributors) - you make this happen, thanks!\n\n\n# Copyright\n\nCopyright (c) 2017 [Dotan Nahum](http://gplus.to/dotan) [@jondot](http://twitter.com/jondot). See [LICENSE](LICENSE) for further details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjondot%2Fhyperportal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjondot%2Fhyperportal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjondot%2Fhyperportal/lists"}