{"id":25620754,"url":"https://github.com/codewell/use-development-value","last_synced_at":"2025-10-09T21:11:35.787Z","repository":{"id":35111395,"uuid":"208057976","full_name":"codewell/use-development-value","owner":"codewell","description":"Switch between urls in development mode and production mode","archived":false,"fork":false,"pushed_at":"2023-01-06T02:09:11.000Z","size":457,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T08:15:36.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-12T13:29:54.000Z","updated_at":"2020-07-20T07:47:09.000Z","dependencies_parsed_at":"2023-01-15T14:03:20.927Z","dependency_job_id":null,"html_url":"https://github.com/codewell/use-development-value","commit_stats":null,"previous_names":["codewell/use-development-url"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fuse-development-value","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fuse-development-value/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fuse-development-value/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fuse-development-value/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewell","download_url":"https://codeload.github.com/codewell/use-development-value/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240139733,"owners_count":19754168,"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":"2025-02-22T07:27:58.402Z","updated_at":"2025-10-09T21:11:30.768Z","avatar_url":"https://github.com/codewell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @codewell/use-development-value\nSwitch between urls in development mode and production mode\n\n## Installation\n```\nnpm install @codewell/use-development-value\n```\n\n## Basic usage\n```JavaScript\nimport useDevelopmentValue from '@codewell/use-development-value';\n\nconst originalValue = 'foo';\nconst developmentValue = 'dev-foo';\n\n// Uses process.env.NODE_ENV to switch between the urls\nconst value = useDevelopmentValue(originalValue, developmentValue);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewell%2Fuse-development-value","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewell%2Fuse-development-value","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewell%2Fuse-development-value/lists"}