{"id":17349247,"url":"https://github.com/co2-git/pronto-config","last_synced_at":"2025-07-12T18:41:26.559Z","repository":{"id":19663062,"uuid":"22916348","full_name":"co2-git/pronto-config","owner":"co2-git","description":"Expose a JSON object in `app.locals.config`","archived":false,"fork":false,"pushed_at":"2014-08-17T10:07:15.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T16:23:19.284Z","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/co2-git.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":"2014-08-13T13:23:33.000Z","updated_at":"2014-08-17T09:46:07.000Z","dependencies_parsed_at":"2022-08-24T14:07:28.670Z","dependency_job_id":null,"html_url":"https://github.com/co2-git/pronto-config","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Fpronto-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Fpronto-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Fpronto-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Fpronto-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/co2-git","download_url":"https://codeload.github.com/co2-git/pronto-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245841691,"owners_count":20681184,"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-10-15T16:55:08.603Z","updated_at":"2025-03-27T11:44:26.596Z","avatar_url":"https://github.com/co2-git.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"prontoplugin-config\n===================\n\nExpose a JSON object in `app.locals.config`\n\n# Install\n\n    pronto plugins install config\n    \n# Usage\n\n```js\n// In pronto\n\npronto()\n\t.plugin('pronto-config', { foo: 'bar' })\n\t.on('all').then(function (req, res) {\n\t\tres.send(app.locals.foo);\n\t});\n\n// In Express\n\nvar prontoConfig = require('pronto-config');\nvar app = express();\nprontoConfig(app, { foo: 'bar' });\n\napp.use(function(req, res) {\n\tres.send(app.locals.foo);\n});\n```\n# Merge\n\nYou can pass more than one argument\n\n```js\npronto().plugin('pronto-config', { foo: 'bar' }, { bar: 'foo '});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fco2-git%2Fpronto-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fco2-git%2Fpronto-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fco2-git%2Fpronto-config/lists"}