{"id":28222836,"url":"https://github.com/warlock/nexo-documentation","last_synced_at":"2026-01-26T23:19:56.970Z","repository":{"id":147848035,"uuid":"284937133","full_name":"warlock/nexo-documentation","owner":"warlock","description":"Documentació de nexo","archived":false,"fork":false,"pushed_at":"2020-08-04T09:37:39.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-11T19:10:48.174Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nexo.js.gl","language":null,"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/warlock.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,"zenodo":null}},"created_at":"2020-08-04T09:37:00.000Z","updated_at":"2020-08-04T09:45:16.000Z","dependencies_parsed_at":"2023-05-27T17:00:14.956Z","dependency_job_id":null,"html_url":"https://github.com/warlock/nexo-documentation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/warlock/nexo-documentation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warlock%2Fnexo-documentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warlock%2Fnexo-documentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warlock%2Fnexo-documentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warlock%2Fnexo-documentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warlock","download_url":"https://codeload.github.com/warlock/nexo-documentation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warlock%2Fnexo-documentation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28791166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"last_error":"SSL_read: 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":"2025-05-18T07:14:10.539Z","updated_at":"2026-01-26T23:19:56.965Z","avatar_url":"https://github.com/warlock.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\n![](.gitbook/assets/nexopro.png)\n\n\u003e Lightweight Javascript Web Components for Frontend **Javascript**\n\n### Documentation\n\n* [GitHub Source Project](https://github.com/warlock/nexo)\n* [NPM package](https://www.npmjs.com/package/nexo)\n* [Basic tutorial for Webpack](https://warlock.gitbooks.io/nexo/component-loader.html)\n* [Demo with Express and Webpack](https://github.com/warlock/nexoDemo)\n\n### Utils\n\n* Render javascript web components with events\n* Reactive model system\n* DOM event handler\n* Internal Event handler\n* Cookies set and get\n* Easy for work direcly from browser or build a bundle\n\n### Install\n\n```bash\nnpm install nexo --save-dev\n```\n\n### Import module for Node.js:\n\n```javascript\nvar n = require(\"nexo\");\n```\n\n### Browser import:\n\n```javascript\n\u003cscript src=\"nexo/nexo.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\nn.set({\n  name : 'button',\n  html: n =\u003e `\u003cb id=\"click_now\"\u003eClickme!\u003c/b\u003e`,\n  ready: n =\u003e {\n    n.on('#click_now', 'click', () =\u003e {\n      console.log(\"Hi!\")\n    })\n  }\n})\n\nn.ready(() =\u003e {\n  n.render('button',{ element : '#main' })\n})\n\u003c/script\u003e\n```\n\n## License\n\nThe MIT License \\(MIT\\)  \nCopyright \\(c\\) 2015 Josep Subils Rigau \\(js@js.gl\\)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files \\(the \"Software\"\\), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarlock%2Fnexo-documentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarlock%2Fnexo-documentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarlock%2Fnexo-documentation/lists"}