{"id":17681657,"url":"https://github.com/phawk/js-rect-example","last_synced_at":"2025-10-15T13:39:45.447Z","repository":{"id":141760067,"uuid":"7427066","full_name":"phawk/js-rect-example","owner":"phawk","description":"A tutorial on architecture on my blog. http://phawk.co.uk","archived":false,"fork":false,"pushed_at":"2013-01-03T18:34:01.000Z","size":152,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T21:55:26.208Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phawk.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":"2013-01-03T17:31:19.000Z","updated_at":"2013-10-18T13:37:44.000Z","dependencies_parsed_at":"2023-03-13T10:29:07.377Z","dependency_job_id":null,"html_url":"https://github.com/phawk/js-rect-example","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/phawk%2Fjs-rect-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phawk%2Fjs-rect-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phawk%2Fjs-rect-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phawk%2Fjs-rect-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phawk","download_url":"https://codeload.github.com/phawk/js-rect-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246366222,"owners_count":20765651,"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-10-24T09:11:48.175Z","updated_at":"2025-10-15T13:39:40.419Z","avatar_url":"https://github.com/phawk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JS Rect object\n\nUsed to create coloured rectangles in the browser. This is a sample project build for a blog article on [my Architecture process]().\n\n## Usage\n\n```js\n// Short form\nvar rect = new Rect(100, 100, 'red');\nrect.position(50, 50);\nrect.show();\nrect.hide();\n\n// Long form\nvar rect = new Rect();\nrect.size(100, 100);\nrect.color('red');\nrect.position(50, 50);\nrect.show();\nrect.hide();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphawk%2Fjs-rect-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphawk%2Fjs-rect-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphawk%2Fjs-rect-example/lists"}