{"id":18771086,"url":"https://github.com/bigasdev/tiny-bigas","last_synced_at":"2025-12-12T03:30:15.202Z","repository":{"id":53381377,"uuid":"521394259","full_name":"bigasdev/tiny-bigas","owner":"bigasdev","description":"my npm package to work with canvas on electron-js","archived":false,"fork":false,"pushed_at":"2022-08-05T13:24:49.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T07:43:24.868Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigasdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-04T19:39:47.000Z","updated_at":"2022-08-04T19:39:52.000Z","dependencies_parsed_at":"2022-08-26T13:00:54.232Z","dependency_job_id":null,"html_url":"https://github.com/bigasdev/tiny-bigas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigasdev%2Ftiny-bigas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigasdev%2Ftiny-bigas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigasdev%2Ftiny-bigas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigasdev%2Ftiny-bigas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigasdev","download_url":"https://codeload.github.com/bigasdev/tiny-bigas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239678114,"owners_count":19679202,"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-11-07T19:23:11.089Z","updated_at":"2025-12-12T03:30:15.145Z","avatar_url":"https://github.com/bigasdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tiny-bigas\n![GitHub package.json version](https://img.shields.io/github/package-json/v/bigasdev/tiny-bigas)\n\nPackage created to help with adding pixel-art elements and buttons to my electron.js development.\n\nIt uses the canvas html element to display stuff in the screen, and with stuff such as a update() function we can add callbacks to everything.\n\n# How to install\n\n```\nnpm i tiny-bigas\n```\n\n# How to use\n```js\nconst tinyBigas = require('tiny-bigas');\nconst render = require('./node_modules/tiny-bigas/bigasrender.js');\n\n// And then, inside the preload.js \n\nwindow.addEventListener('DOMContentLoaded', () =\u003e {\n    tinyBigas.exports.addButton(new tinyBigas.Button(\"Test\", 5, [150,0], ()=\u003e{\n        console.log(\"I'm a button!\");\n    }));\n\n    render.exports.main();\n    render.exports.initialize();\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigasdev%2Ftiny-bigas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigasdev%2Ftiny-bigas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigasdev%2Ftiny-bigas/lists"}