{"id":21890753,"url":"https://github.com/chantastic/myopic","last_synced_at":"2025-04-15T13:34:39.426Z","repository":{"id":57306701,"uuid":"129450432","full_name":"chantastic/myopic","owner":"chantastic","description":"A function for crafting thoughts that don't age well 🤓","archived":false,"fork":false,"pushed_at":"2019-02-22T21:15:04.000Z","size":135,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T20:36:37.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/chantastic.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":"2018-04-13T20:31:41.000Z","updated_at":"2021-01-24T18:54:15.000Z","dependencies_parsed_at":"2022-09-02T05:51:41.663Z","dependency_job_id":null,"html_url":"https://github.com/chantastic/myopic","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Fmyopic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Fmyopic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Fmyopic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Fmyopic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chantastic","download_url":"https://codeload.github.com/chantastic/myopic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249080184,"owners_count":21209482,"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-28T12:16:39.908Z","updated_at":"2025-04-15T13:34:39.406Z","avatar_url":"https://github.com/chantastic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# myopic 🤓\nA function for crafting thoughts that don't age well\n\n## usage\n\n```js\nmyopic(\"The render prop pattern\", \"cloneElement\")\n// =\u003e \"The render prop pattern replaces cloneElement. I don't see any reason to use cloneElement anymore.\"\n\nmyopic(\"The new Context API\", \"Redux\")\n// =\u003e \"The new Context API replaces Redux. I don't see any reason to use Redux anymore.\"\n```\n\nHere's the code that powers it:\n\n```js\nfunction myopic(thingIveJustLearned, thingIveUsed) {\n  return `${thingIveJustLearned} replaces ${thingIveUsed}. I don't see any reason to use ${thingIveUsed} anymore.`;\n}\n```\n\n## installation\n\n### Node\n\n```bash\nnpm i myopic\n```\n\n*Module*\n```js\nimport myopic from \"myopic\";\n```\n\n*CommonJS*\n```js\nconst myopic = require(\"myopic\");\n```\n\n### Browser\n```html\n\u003cscript src=\"https://unpkg.com/myopic\"\u003e\u003c/script\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchantastic%2Fmyopic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchantastic%2Fmyopic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchantastic%2Fmyopic/lists"}