{"id":15692614,"url":"https://github.com/ultirequiem/stable-fn","last_synced_at":"2025-10-14T17:46:08.854Z","repository":{"id":39544764,"uuid":"472458699","full_name":"UltiRequiem/stable-fn","owner":"UltiRequiem","description":"🦾 Ensure the same input always produces the same output","archived":false,"fork":false,"pushed_at":"2025-06-28T17:37:06.000Z","size":19,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T02:37:34.563Z","etag":null,"topics":["deno","javas","npm","testing","typescript"],"latest_commit_sha":null,"homepage":"https://stable-fn.js.org","language":"TypeScript","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/UltiRequiem.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,"zenodo":null},"funding":{"patreon":"ultirequiem"}},"created_at":"2022-03-21T18:15:27.000Z","updated_at":"2025-08-10T23:44:00.000Z","dependencies_parsed_at":"2023-02-18T16:25:13.642Z","dependency_job_id":"7a1e0948-a595-4af5-a15d-81aa004e4bdc","html_url":"https://github.com/UltiRequiem/stable-fn","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":0.5,"last_synced_commit":"c3792cd2f4605dbaf4e8960fe308fd46b54485fb"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/UltiRequiem/stable-fn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fstable-fn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fstable-fn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fstable-fn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fstable-fn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UltiRequiem","download_url":"https://codeload.github.com/UltiRequiem/stable-fn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fstable-fn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020044,"owners_count":26086806,"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-10-14T02:00:06.444Z","response_time":60,"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":["deno","javas","npm","testing","typescript"],"created_at":"2024-10-03T18:36:29.281Z","updated_at":"2025-10-14T17:46:08.837Z","avatar_url":"https://github.com/UltiRequiem.png","language":"TypeScript","funding_links":["https://patreon.com/ultirequiem","https://patreon.com/UltiRequiem"],"categories":[],"sub_categories":[],"readme":"# stable-fn\n\n[![codecov](https://codecov.io/gh/ultirequiem/stable-fn/branch/main/graph/badge.svg)](https://codecov.io/gh/ultirequiem/stable-fn)\n[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/stable_fn/mod.ts)\n\n\u003e Ensure the same input always produces the same output.\n\nUseful for stress testing functions in your unit tests to make sure their\nbehaviors are consistent.\n\n## Usage\n\n### [Deno 🚀](https://deno.land/x/stable_fn)\n\n```typescript\nimport { stableFunction } from \"https://deno.land/x/stable_fn/mod.ts\";\nimport { randomItem } from \"https://deno.land/x/random_item/mod.ts\";\n\nstableFunction(() =\u003e true); //=\u003e true\nstableFunction(() =\u003e randomItem([\"a\", \"b\", \"c\"])); //=\u003e false\n```\n\n### [Node.js 🐢](https://www.npmjs.com/package/@ultirequiem/stable-fn)\n\n```ts\nimport { stableFunction } from \"@ultirequiem/stable-fn\";\n```\n\n### Browser\n\nUsing\n[type module](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules)\n🍱\n\n- [esm.sh](https://esm.sh/@ultirequiem/stable-fn)\n\n- [skypack](https://cdn.skypack.dev/@ultirequiem/stable-fn)\n\nUsing a plain\n[script tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script) 👇\n\n- [jsdelivr](https://cdn.jsdelivr.net/npm/@ultirequiem/stable-fn)\n\n- [unpkg](https://unpkg.com/@ultirequiem/stable-fn)\n\nYou have the same API on all of this platforms.\n\n## Documentation\n\n[Autogenerated Documentation](https://doc.deno.land/https://deno.land/x/stable_fn/mod.ts)\n😎\n\n## Support\n\nOpen an Issue, I will check it a soon as possible 👀\n\nIf you want to hurry me up a bit\n[send me a tweet](https://twitter.com/intent/tweet?text=%40UltiRequiem%20) 😆\n\nConsider [supporting me on Patreon](https://patreon.com/UltiRequiem) if you like\nmy work 🚀\n\nDon't forget to start the repo ⭐\n\n## Licence\n\nLicensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Fstable-fn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fultirequiem%2Fstable-fn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Fstable-fn/lists"}