{"id":17950388,"url":"https://github.com/sebastienros/pipejs","last_synced_at":"2026-03-16T12:32:38.173Z","repository":{"id":32682354,"uuid":"36271268","full_name":"sebastienros/pipejs","owner":"sebastienros","description":"Command Line JavaScript interpreter","archived":false,"fork":false,"pushed_at":"2024-02-27T19:59:02.000Z","size":12,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T23:41:31.496Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/sebastienros.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-05-26T04:11:19.000Z","updated_at":"2024-03-30T17:56:12.000Z","dependencies_parsed_at":"2024-10-29T10:09:55.599Z","dependency_job_id":null,"html_url":"https://github.com/sebastienros/pipejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sebastienros/pipejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienros%2Fpipejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienros%2Fpipejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienros%2Fpipejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienros%2Fpipejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebastienros","download_url":"https://codeload.github.com/sebastienros/pipejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienros%2Fpipejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274112473,"owners_count":25224325,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-29T09:38:52.869Z","updated_at":"2026-03-16T12:32:38.095Z","avatar_url":"https://github.com/sebastienros.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PipeJs\nPipeJs is a JavaScript Command Line Interpreter for .NET. It means you can execute custom JavaScript from the command line, by passing JavaScript statements and script files as arguments. \n\n## Quick Start\n\nPipeJs is used by calling `pipejs.exe` from the command line. Here are some typical ways to use it:\n\n### Returning a JavaScript primitive value\nAny returned primitive value is displayed using `.toString()` on it. \n\n```\npipejs return Math.PI * 2\n```\n`6.28318530717959`\n\n### Returning a JavaScript complex object\nComplex objects are serialized into JSON.\n\n```\npipejs var o = {}; o.Color = 'Red'; return o;\n```\n`{\"Color\":\"Red\"}`\n\n### Piping arguments to a script\nAny value can be passed to `pipejs` as the `this` argument.\n```\necho { \"foo\" : \"bar\" } | pipejs return this.foo;\n```\n`bar`\n\n### Outputing custom text to the console\nThe `console` object is available.\n```\necho 9 | pipejs \"if(this \u003e 5) console.log(this); else console.warning(this);\"\n```\n\n### Using an external script file\nPipeJs can execute a script from a specific file.\n```\npipejs @myScript.js\n```\n\n### Piping outputs to inputs\nThe output of a pipejs script can be used as the input of another one.\n```\necho 9 | pipejs return this * 2 | pipejs return this - 10\n```\n`8`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastienros%2Fpipejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebastienros%2Fpipejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastienros%2Fpipejs/lists"}