{"id":24907695,"url":"https://github.com/danser-freelancer/code_bits","last_synced_at":"2025-10-16T18:31:10.693Z","repository":{"id":258761389,"uuid":"875662742","full_name":"DANser-freelancer/code_bits","owner":"DANser-freelancer","description":"Miscellanious bits of javascript code.","archived":false,"fork":false,"pushed_at":"2025-01-13T07:36:51.000Z","size":217,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T08:21:13.533Z","etag":null,"topics":["code","customization","experiment","javascript","metaprogramming","prototype","weird-language"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DANser-freelancer.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":"2024-10-20T15:15:23.000Z","updated_at":"2024-12-16T00:43:25.000Z","dependencies_parsed_at":"2024-10-23T07:38:26.585Z","dependency_job_id":"5e0a5190-4b08-4500-9097-f208b8646e94","html_url":"https://github.com/DANser-freelancer/code_bits","commit_stats":null,"previous_names":["danser-freelancer/code_bits"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DANser-freelancer%2Fcode_bits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DANser-freelancer%2Fcode_bits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DANser-freelancer%2Fcode_bits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DANser-freelancer%2Fcode_bits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DANser-freelancer","download_url":"https://codeload.github.com/DANser-freelancer/code_bits/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236738782,"owners_count":19197001,"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":["code","customization","experiment","javascript","metaprogramming","prototype","weird-language"],"created_at":"2025-02-02T01:18:42.076Z","updated_at":"2025-10-16T18:31:10.688Z","avatar_url":"https://github.com/DANser-freelancer.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## About\nThis is a repo of all the JavaScript things that I come up with.    \nJavascript might seem like a simpler or \"lesser\" language to some people, but I know it's rich in features, can be performant, and has many metaprogramming options.   \nThis code is meant to do funny, complicated, silly, or cool things.    \nConsider this a free RnD project of one guy who wrote vanilla JavaScript for 6 years.\n\nUpgrades are welcome too. Every branch has a copy of the permissive free licence.     \n\n### Q\u0026A    \n*Why does this work?*    \nA short explanation for most code bits would be:\n- *almost* everything in javascript is an object, one way or another.\n- `.prototype` chains are useful to globally alter behavior of objects (including primitives as they are boxed).\n- `constructor.name`, `instanceof`, `name`, and `typeof` can all be used in different scenarios to precisely determine what object you are dealing with.\n- JavaScript's heavy lean into flexibility allows me to do some metaprogramming using granular property control, some \"magic methods\", monkeypatching, code-as-data, and reflection.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanser-freelancer%2Fcode_bits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanser-freelancer%2Fcode_bits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanser-freelancer%2Fcode_bits/lists"}