{"id":30170922,"url":"https://github.com/reo7sp/coffeescript-accessors","last_synced_at":"2025-08-11T21:49:23.813Z","repository":{"id":57202810,"uuid":"67501576","full_name":"reo7sp/coffeescript-accessors","owner":"reo7sp","description":"Fancy getter and setter generation in CoffeeScript","archived":false,"fork":false,"pushed_at":"2016-10-21T16:26:20.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T03:29:19.336Z","etag":null,"topics":["coffeescript","getters","setters"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/coffeescript-accessors","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/reo7sp.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":"2016-09-06T11:24:49.000Z","updated_at":"2017-03-07T07:35:57.000Z","dependencies_parsed_at":"2022-09-15T13:21:41.131Z","dependency_job_id":null,"html_url":"https://github.com/reo7sp/coffeescript-accessors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reo7sp/coffeescript-accessors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reo7sp%2Fcoffeescript-accessors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reo7sp%2Fcoffeescript-accessors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reo7sp%2Fcoffeescript-accessors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reo7sp%2Fcoffeescript-accessors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reo7sp","download_url":"https://codeload.github.com/reo7sp/coffeescript-accessors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reo7sp%2Fcoffeescript-accessors/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269688019,"owners_count":24459399,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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":["coffeescript","getters","setters"],"created_at":"2025-08-11T21:49:19.092Z","updated_at":"2025-08-11T21:49:23.799Z","avatar_url":"https://github.com/reo7sp.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coffeescript-accessors\nFancy getter and setter generation in CoffeeScript\n\n## Usage with monkey patching\n```coffeescript\nrequire('coffeescript-accessors').bootstrap()\n\nclass A\n  num: 1\n  @getter 'num'\n  @setter 'num'\n\n  someStr: 'test'\n  @accessor 'someStr' # creates both getter and setter\n\n  a: 1\n  b: 2\n  @getter 'a', 'b' # create getters for multiple fields at once\n\na = new A()\na.setSomeStr('it works')\na.getA()\n```\n\n## Usage without monkey patching\n```coffeescript\nattr = require('coffeescript-accessors')\n\nclass A\n  num: 1\n  someStr: 'test'\n\n  attr.getter @, 'num'\n  attr.setter @, 'num'\n  attr.accessor @, 'someStr'\n  attr.reader @, 'a', 'b' # remember ruby?\n\na = new A()\na.setSomeStr('it works')\na.getA()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freo7sp%2Fcoffeescript-accessors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freo7sp%2Fcoffeescript-accessors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freo7sp%2Fcoffeescript-accessors/lists"}