{"id":18317907,"url":"https://github.com/idiocc/preact-fixture","last_synced_at":"2025-04-09T13:51:19.711Z","repository":{"id":57117474,"uuid":"168450805","full_name":"idiocc/preact-fixture","owner":"idiocc","description":"The Fixture To Test Loading Node_Modules From Front-End.","archived":false,"fork":false,"pushed_at":"2019-02-09T15:19:03.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-18T03:41:54.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://idio.cc","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/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}},"created_at":"2019-01-31T02:40:43.000Z","updated_at":"2019-02-09T15:19:05.000Z","dependencies_parsed_at":"2022-08-23T05:41:09.916Z","dependency_job_id":null,"html_url":"https://github.com/idiocc/preact-fixture","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiocc%2Fpreact-fixture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiocc%2Fpreact-fixture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiocc%2Fpreact-fixture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiocc%2Fpreact-fixture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idiocc","download_url":"https://codeload.github.com/idiocc/preact-fixture/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":[],"created_at":"2024-11-05T18:07:49.871Z","updated_at":"2025-04-09T13:51:19.686Z","avatar_url":"https://github.com/idiocc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @idio/preact-fixture\n\n[![npm version](https://badge.fury.io/js/@idio/preact-fixture.svg)](https://npmjs.org/package/@idio/preact-fixture)\n\n`@idio/preact-fixture` is The Fixture To Test Loading Node_Modules From Front-End.\n\n```sh\nyarn add -E @idio/preact-fixture\n```\n\n## Table Of Contents\n\n- [Table Of Contents](#table-of-contents)\n- [API](#api)\n- [`preactFixture(arg1: string, arg2?: boolean)`](#mynewpackagearg1-stringarg2-boolean-void)\n  * [`Config`](#type-config)\n- [Copyright](#copyright)\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\u003cimg src=\".documentary/section-breaks/0.svg?sanitize=true\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n## API\n\nThe package is available by importing its default function:\n\n```js\nimport preactFixture from '@idio/preact-fixture'\n```\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\u003cimg src=\".documentary/section-breaks/1.svg?sanitize=true\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n## `preactFixture(`\u003cbr/\u003e\u0026nbsp;\u0026nbsp;`arg1: string,`\u003cbr/\u003e\u0026nbsp;\u0026nbsp;`arg2?: boolean,`\u003cbr/\u003e`): void`\n\nCall this function to get the result you want.\n\n__\u003ca name=\"type-config\"\u003e`Config`\u003c/a\u003e__: Options for the program.\n\n|   Name    |   Type    |    Description    | Default |\n| --------- | --------- | ----------------- | ------- |\n| shouldRun | _boolean_ | A boolean option. | `true`  |\n| __text*__ | _string_  | A text to return. | -       |\n\n```js\n/* yarn example/ */\nimport preactFixture from '@idio/preact-fixture'\n\n(async () =\u003e {\n  const res = await preactFixture({\n    text: 'example',\n  })\n  console.log(res)\n})()\n```\n```\nexample\n```\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\u003cimg src=\".documentary/section-breaks/2.svg?sanitize=true\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n## Copyright\n\n(c) [Idio][1] 2019\n\n[1]: https://idio.cc\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\u003cimg src=\".documentary/section-breaks/-1.svg?sanitize=true\"\u003e\u003c/a\u003e\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidiocc%2Fpreact-fixture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidiocc%2Fpreact-fixture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidiocc%2Fpreact-fixture/lists"}