{"id":18204433,"url":"https://github.com/3p3r/opshun","last_synced_at":"2025-04-07T18:53:44.178Z","repository":{"id":48923534,"uuid":"267126273","full_name":"3p3r/opshun","owner":"3p3r","description":"type safe \"rc\"","archived":false,"fork":false,"pushed_at":"2021-07-05T13:31:49.000Z","size":127,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T11:17:35.858Z","etag":null,"topics":["config","defaults","rc","unix"],"latest_commit_sha":null,"homepage":null,"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/3p3r.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":"2020-05-26T18:53:28.000Z","updated_at":"2020-05-26T20:38:06.000Z","dependencies_parsed_at":"2022-09-26T20:21:24.022Z","dependency_job_id":null,"html_url":"https://github.com/3p3r/opshun","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/3p3r%2Fopshun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3p3r%2Fopshun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3p3r%2Fopshun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3p3r%2Fopshun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3p3r","download_url":"https://codeload.github.com/3p3r/opshun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247713295,"owners_count":20983682,"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":["config","defaults","rc","unix"],"created_at":"2024-11-03T11:04:18.158Z","updated_at":"2025-04-07T18:53:44.155Z","avatar_url":"https://github.com/3p3r.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# opshun\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"banner.jpg\" /\u003e\n\u003c/p\u003e\n\ntype-safe version of the [rc package](https://www.npmjs.com/package/rc).\n\n## why\n\nthis is a drop-in replacement for the rc package that accomplishes:\n\n1. enabling type safety (original rc reads everything as strings)\n1. logging flat version of the parsed config for debugging\n1. fixing VSCode's intellisense references to the package\n\n## usage\n\nin your project:\n\n```bash\nnpm install --save opshun\n```\n\nin your code:\n\n```JS\nconst rc = require('opshun);\nconst conf = rc(appname, {\n  //defaults go here.\n  port: 2468,\n  //defaults which are objects will be merged, not replaced\n  views: {\n    engine: 'jade'\n  }\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3p3r%2Fopshun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3p3r%2Fopshun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3p3r%2Fopshun/lists"}