{"id":20119580,"url":"https://github.com/box/clusterrunner-javascript-sdk","last_synced_at":"2025-07-04T18:02:39.986Z","repository":{"id":57201022,"uuid":"47206698","full_name":"box/clusterrunner-javascript-sdk","owner":"box","description":"ClusterRunner JavaScript SDK that works in both node and browsers","archived":false,"fork":false,"pushed_at":"2023-10-28T07:34:44.000Z","size":36,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-06-06T07:16:20.955Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/box.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-12-01T17:41:08.000Z","updated_at":"2020-06-28T07:47:05.000Z","dependencies_parsed_at":"2025-01-13T07:11:02.519Z","dependency_job_id":"c1057672-8e1f-4046-9626-4585e9c7fd2f","html_url":"https://github.com/box/clusterrunner-javascript-sdk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/box/clusterrunner-javascript-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fclusterrunner-javascript-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fclusterrunner-javascript-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fclusterrunner-javascript-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fclusterrunner-javascript-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/box","download_url":"https://codeload.github.com/box/clusterrunner-javascript-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fclusterrunner-javascript-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263594508,"owners_count":23485871,"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-11-13T19:16:10.804Z","updated_at":"2025-07-04T18:02:39.927Z","avatar_url":"https://github.com/box.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges)\n[![Build Status](https://travis-ci.org/box/clusterrunner-javascript-sdk.svg)](https://travis-ci.org/box/clusterrunner-javascript-sdk)\n\nClusterRunner Javascript SDK\n-------------------\n\nThis is ClusterRunner javascript SDK that works both in node(v4.0.0+) and browsers.\n\nInstalling\n------------------\n```bash\nnpm install clusterrunner-javascript-sdk\n```\n\nUsage\n------------------\n#### Get ClusterRunner Build\n```javascript\nvar ClusterRunner = require('clusterrunner-javascript-sdk');\nvar client = new ClusterRunner('cluster-master-url.com');\nvar buildPromise = client.getBuild(1);\n```\n\n#### Get Build Subjobs\n```javascript\nbuildPromise.then(function(build) {\n  var subjobsPromise = build.subjobs();\n});\n```\n\n#### Get Subjob Atoms\n```javascript\nvar atomPromise = subjob.atoms();\n```\n\n#### Get Atom's console output\n```javascript\nvar consoleOutputPromise = atom.consoleOutput();\n```\n\nContributing\n-----------------------\n\n#### Developer Setup\n```bash\nnpm install\n```\n\n#### Testing\n```bash\ngulp unit-test\n# You can also run `gulp test` which also runs functional test, which only works on POSIX systems for now\n# gulp test\n```\n\n\n## Support\n\nNeed to contact us directly? Email oss@box.com and be sure to include the name of this project in the subject.\n\n## Copyright and License\n\nCopyright 2015 Box, Inc. All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbox%2Fclusterrunner-javascript-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbox%2Fclusterrunner-javascript-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbox%2Fclusterrunner-javascript-sdk/lists"}