{"id":22466437,"url":"https://github.com/coreh/js","last_synced_at":"2025-08-02T07:30:59.976Z","repository":{"id":8183412,"uuid":"9609664","full_name":"coreh/js","owner":"coreh","description":"A better `node -p`","archived":false,"fork":false,"pushed_at":"2021-09-06T06:44:30.000Z","size":108,"stargazers_count":11,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-15T03:20:36.291Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"CloudSide/VdiskSDK-PHP","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coreh.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","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":"2013-04-22T21:47:37.000Z","updated_at":"2021-06-14T03:36:58.000Z","dependencies_parsed_at":"2022-09-10T13:22:45.108Z","dependency_job_id":null,"html_url":"https://github.com/coreh/js","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreh%2Fjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreh%2Fjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreh%2Fjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreh%2Fjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coreh","download_url":"https://codeload.github.com/coreh/js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228446406,"owners_count":17921107,"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-12-06T10:12:15.851Z","updated_at":"2024-12-06T10:12:16.492Z","avatar_url":"https://github.com/coreh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js \n\n**js** is a a better alternative to `node -p`. It will automatically convert data from and to JSON string representations, and will automatically expose enviroment variables as globals preceded with `$`.\n\n## Usage\n\n```bash\njs \u003cjavascript\u003e\n```\n\n## Examples\n\nUsing math\n\n```bash\njs 2+2\n```\n\nRead a field from a JSON file\n\n```bash\njs stdin.version \u003c package.json\n```\n\nAdd a field to a JSON file on the fly\n\n```bash\njs 'stdin.foo = \"bar\", stdin' \u003c in.json \u003e out.json\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoreh%2Fjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoreh%2Fjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoreh%2Fjs/lists"}