{"id":15041054,"url":"https://github.com/ksxnodeapps/require-to-json","last_synced_at":"2026-01-30T03:05:46.622Z","repository":{"id":57354378,"uuid":"87636486","full_name":"ksxnodeapps/require-to-json","owner":"ksxnodeapps","description":"Require a JavaScript file and print JSON result to stdout","archived":false,"fork":false,"pushed_at":"2018-01-23T09:46:50.000Z","size":27,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T14:15:34.455Z","etag":null,"topics":["cli","eval","javascript","json","nodejs","npm"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/require-to-json","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/ksxnodeapps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-08T13:40:03.000Z","updated_at":"2023-02-13T18:31:13.000Z","dependencies_parsed_at":"2022-09-12T06:00:32.854Z","dependency_job_id":null,"html_url":"https://github.com/ksxnodeapps/require-to-json","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksxnodeapps%2Frequire-to-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksxnodeapps%2Frequire-to-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksxnodeapps%2Frequire-to-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksxnodeapps%2Frequire-to-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksxnodeapps","download_url":"https://codeload.github.com/ksxnodeapps/require-to-json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245814748,"owners_count":20676808,"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":["cli","eval","javascript","json","nodejs","npm"],"created_at":"2024-09-24T20:45:27.875Z","updated_at":"2026-01-30T03:05:41.592Z","avatar_url":"https://github.com/ksxnodeapps.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# require-to-json\nRequire a JavaScript file and print JSON result to stdout\n\n## Installation\n\n```bash\nnpm install --global require-to-json\n```\n\n## Command-line usage\n\n```bash\nrequire-to-json file.js\n```\n\n```bash\nrequire-to-json \u003c file.js\n```\n\n```bash\ncat file.js | require-to-json\n```\n\n```bash\necho 'module.exports = 123 + 456' | require-to-json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksxnodeapps%2Frequire-to-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksxnodeapps%2Frequire-to-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksxnodeapps%2Frequire-to-json/lists"}