{"id":26207201,"url":"https://github.com/oelin/subjectify","last_synced_at":"2025-09-20T09:16:15.008Z","repository":{"id":91570596,"uuid":"607627750","full_name":"oelin/subjectify","owner":"oelin","description":"Make all method calls return their call subject.","archived":false,"fork":false,"pushed_at":"2023-03-22T12:13:31.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-25T21:54:48.129Z","etag":null,"topics":["function-chaining","functional-programming"],"latest_commit_sha":null,"homepage":"https://npmjs.com/subjectify","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/oelin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-28T11:06:51.000Z","updated_at":"2023-02-28T11:27:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d762640-8b8d-4519-9ec6-19beb7e1eabc","html_url":"https://github.com/oelin/subjectify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oelin/subjectify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oelin%2Fsubjectify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oelin%2Fsubjectify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oelin%2Fsubjectify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oelin%2Fsubjectify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oelin","download_url":"https://codeload.github.com/oelin/subjectify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oelin%2Fsubjectify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267778840,"owners_count":24143132,"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-07-29T02:00:12.549Z","response_time":2574,"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":["function-chaining","functional-programming"],"created_at":"2025-03-12T05:31:15.249Z","updated_at":"2025-09-20T09:16:09.938Z","avatar_url":"https://github.com/oelin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# subjectify\n\nMake all method calls return their call subject.\n\n\n## Installation\n\n```sh\nnpm i subjectify\n```\n\n\n## Usage\n\nOriginal code:\n\n```js\nconst element = document.createElement('div')\n\nelement.setAttribute('class', 'foo')\nelement.setAttribute('id', 'bar')\nelement.append('hello world')\n```\n\nSimplified code using `subjectify()`:\n\n\n```js\nimport subjectify from 'subjectify'\n\n\nconst element = subjectify(document.createElement('div'))\n        .setAttribute('class', 'foo')\n        .setAttribute('id', 'bar')\n        .append('hello world')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foelin%2Fsubjectify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foelin%2Fsubjectify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foelin%2Fsubjectify/lists"}