{"id":32265243,"url":"https://github.com/sabamotto/jquery-egen","last_synced_at":"2026-02-21T02:01:54.385Z","repository":{"id":28459467,"uuid":"31975158","full_name":"sabamotto/jquery-egen","owner":"sabamotto","description":"jQuery plugin for generating element by query","archived":false,"fork":false,"pushed_at":"2016-12-02T17:14:22.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-24T04:19:02.059Z","etag":null,"topics":["dom","jquery-plugin","querystring"],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sabamotto.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"MIT-LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-10T18:43:18.000Z","updated_at":"2023-07-06T00:30:46.000Z","dependencies_parsed_at":"2022-08-21T08:40:59.601Z","dependency_job_id":null,"html_url":"https://github.com/sabamotto/jquery-egen","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sabamotto/jquery-egen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabamotto%2Fjquery-egen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabamotto%2Fjquery-egen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabamotto%2Fjquery-egen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabamotto%2Fjquery-egen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sabamotto","download_url":"https://codeload.github.com/sabamotto/jquery-egen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabamotto%2Fjquery-egen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29671513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"online","status_checked_at":"2026-02-21T02:00:07.432Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dom","jquery-plugin","querystring"],"created_at":"2025-10-22T21:13:29.388Z","updated_at":"2026-02-21T02:01:54.379Z","avatar_url":"https://github.com/sabamotto.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery-eGen\n\nA simple jQuery plugin for generating element by a query string.\n\njQuery-eGen is inspired by [Slim](https://github.com/slim-template/slim).\n\n- Website: http://sabamotto.github.io/jquery-egen/\n- Downloads: https://github.com/sabamotto/jquery-egen/releases/\n- Examples: http://sabamotto.github.io/jquery-egen/examples.html\n\n## Installation\n\nInclude eGen script after the jQuery library.\n```html\n\u003cscript src=\"your/js/path/jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"your/js/path/jquery.egen.min.js\"\u003e\u003c/script\u003e\n```\n\nOr, include it in your script package.\n\n## Usage\n\nCreate simple div element:\n```javascript\ndiv = $.egen();\n```\n```html\n\u003cdiv\u003e\u003c/div\u003e\n```\n\nCreate element with id or classes:\n```javascript\nicon = $.egen('i.fa.fa-spinner.fa-spin#waitIcon');\n```\n```html\n\u003ci class=\"fa fa-spinner fa-spin\" id=\"waitIcon\"\u003e\u003c/i\u003e\n```\n\nCreate paragraph element with alignment, and append to body:\n```javascript\n$('body').egen('p', { align: 'center' }, 'welcome to eGen!');\n```\n```html\n\u003cbody\u003e\n  \u003c!-- nodes.. --\u003e\n  \u003cp align=\"center\"\u003ewelcome\u0026nbsp;to\u0026nbsp;eGen!\u003c/p\u003e\n\u003c/body\u003e\n```\n\nCreate nested element:\n```javascript\nwarnText = $.egen('p.warn b i', { align: 'center' }, 'Bold and Italic');\n```\n```html\n\u003cp class=\"warn\" align=\"center\"\u003e\u003cb\u003e\u003ci\u003eBold\u0026nbsp;and\u0026nbsp;Italic\u003c/i\u003e\u003c/b\u003e\u003c/p\u003e\n```\n\nsee also [examples](https://github.com/sabamotto/jquery-egen/tree/master/examples).\n\n## Build\n\nTo build eGen by yourself, first of make sure you have Node.js, Grunt and JRE installed.\n\n1. Clone eGen repository\n```\ngit clone https://github.com/sabamotto/jquery-egen.git\ncd jquery-egen\n```\n\n2. Install Node.js dependencies\n```\nnpm install\n```\n\n3. Run `grunt` to generate a script in folder `dist`.\n```\ngrunt\n```\n\n## License\n\nCopyright (c) 2015 SabaMotto\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n## Author\n\n[@sabamotto](https://twitter.com/sabamotto)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabamotto%2Fjquery-egen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsabamotto%2Fjquery-egen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabamotto%2Fjquery-egen/lists"}