{"id":18317970,"url":"https://github.com/idiocc/hot-reload-article","last_synced_at":"2025-04-09T13:51:50.196Z","repository":{"id":143756766,"uuid":"244756150","full_name":"idiocc/hot-reload-article","owner":"idiocc","description":"An article about hot reload.","archived":false,"fork":false,"pushed_at":"2020-03-03T22:38:21.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T07:49:00.572Z","etag":null,"topics":["hot-reload","idio"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idiocc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-03-03T22:37:49.000Z","updated_at":"2020-03-03T22:38:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"08c1627c-0e35-45f4-9042-88a73b465722","html_url":"https://github.com/idiocc/hot-reload-article","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"mnpjs/package","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiocc%2Fhot-reload-article","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiocc%2Fhot-reload-article/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiocc%2Fhot-reload-article/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiocc%2Fhot-reload-article/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idiocc","download_url":"https://codeload.github.com/idiocc/hot-reload-article/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054218,"owners_count":21039951,"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":["hot-reload","idio"],"created_at":"2024-11-05T18:08:01.771Z","updated_at":"2025-04-09T13:51:50.172Z","avatar_url":"https://github.com/idiocc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @idio/hot-reload-article\n\n[![npm version](https://badge.fury.io/js/@idio/hot-reload-article.svg)](https://www.npmjs.com/package/@idio/hot-reload-article)\n\n`@idio/hot-reload-article` is An article about hot reload.\n\n```sh\nyarn add @idio/hot-reload-article\n```\n\n## Table Of Contents\n\n- [Table Of Contents](#table-of-contents)\n- [API](#api)\n- [`async hotReloadArticle(config: !Config): string`](#async-mynewpackageconfig-config-string)\n  * [`Config`](#type-config)\n- [CLI](#cli)\n- [Copyright \u0026 License](#copyright--license)\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\n  \u003cimg src=\"/.documentary/section-breaks/0.svg?sanitize=true\"\u003e\n\u003c/a\u003e\u003c/p\u003e\n\n## API\n\nThe package is available by importing its default function:\n\n```js\nimport hotReloadArticle from '@idio/hot-reload-article'\n```\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\n  \u003cimg src=\"/.documentary/section-breaks/1.svg?sanitize=true\"\u003e\n\u003c/a\u003e\u003c/p\u003e\n\n## \u003ccode\u003easync \u003cins\u003ehotReloadArticle\u003c/ins\u003e(\u003c/code\u003e\u003csub\u003e\u003cbr/\u003e\u0026nbsp;\u0026nbsp;`config: !Config,`\u003cbr/\u003e\u003c/sub\u003e\u003ccode\u003e): \u003ci\u003estring\u003c/i\u003e\u003c/code\u003e\nAn article about hot reload.\n\n - \u003ckbd\u003e\u003cstrong\u003econfig*\u003c/strong\u003e\u003c/kbd\u003e \u003cem\u003e\u003ccode\u003e\u003ca href=\"#type-config\" title=\"Options for the program.\"\u003e!Config\u003c/a\u003e\u003c/code\u003e\u003c/em\u003e: The config.\n\n__\u003ca name=\"type-config\"\u003e`Config`\u003c/a\u003e__: Options for the program.\n\n\n|   Name    |       Type       |    Description    | Default |\n| --------- | ---------------- | ----------------- | ------- |\n| shouldRun | \u003cem\u003eboolean\u003c/em\u003e | A boolean option. | `true`  |\n| text      | \u003cem\u003estring\u003c/em\u003e  | A text to return. | -       |\n\n```js\nimport hotReloadArticle from '@idio/hot-reload-article'\n\n(async () =\u003e {\n  const res = await hotReloadArticle({\n    text: 'example',\n  })\n  console.log(res)\n})()\n```\n```\n@idio/hot-reload-article called with example\nexample\n```\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\n  \u003cimg src=\"/.documentary/section-breaks/2.svg?sanitize=true\"\u003e\n\u003c/a\u003e\u003c/p\u003e\n\n## Copyright \u0026 License\n\nGNU Affero General Public License v3.0\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/38815725?v=4\u0026amp;s=100\" alt=\"idiocc\"\u003e\u003c/td\u003e\n    \u003ctd\u003e© \u003ca href=\"https://www.idio.cc\"\u003eIdio\u003c/a\u003e 2020\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\n  \u003cimg src=\"/.documentary/section-breaks/-1.svg?sanitize=true\"\u003e\n\u003c/a\u003e\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidiocc%2Fhot-reload-article","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidiocc%2Fhot-reload-article","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidiocc%2Fhot-reload-article/lists"}