{"id":29718715,"url":"https://github.com/kvz/locutus","last_synced_at":"2025-07-24T10:01:57.173Z","repository":{"id":653655,"uuid":"296239","full_name":"locutusjs/locutus","owner":"locutusjs","description":"Bringing stdlibs of other programming languages to JavaScript for educational purposes","archived":false,"fork":false,"pushed_at":"2025-01-14T07:56:11.000Z","size":54998,"stargazers_count":3729,"open_issues_count":2,"forks_count":1105,"subscribers_count":206,"default_branch":"main","last_synced_at":"2025-07-22T00:03:59.746Z","etag":null,"topics":["javascript","ports","programming-language"],"latest_commit_sha":null,"homepage":"https://locutus.io","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/locutusjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2009-09-03T09:52:00.000Z","updated_at":"2025-07-17T19:24:14.000Z","dependencies_parsed_at":"2025-04-09T22:14:50.780Z","dependency_job_id":null,"html_url":"https://github.com/locutusjs/locutus","commit_stats":{"total_commits":2489,"total_committers":135,"mean_commits":"18.437037037037037","dds":0.5512253917235838,"last_synced_commit":"10c5d32ac2ea05d31153d654975692fe0e5c5bd4"},"previous_names":["kvz/phpjs","kvz/locutus"],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/locutusjs/locutus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locutusjs%2Flocutus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locutusjs%2Flocutus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locutusjs%2Flocutus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locutusjs%2Flocutus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/locutusjs","download_url":"https://codeload.github.com/locutusjs/locutus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locutusjs%2Flocutus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266404537,"owners_count":23923449,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["javascript","ports","programming-language"],"created_at":"2025-07-24T10:01:17.284Z","updated_at":"2025-07-24T10:01:57.166Z","avatar_url":"https://github.com/locutusjs.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Learning Resources"],"sub_categories":["References"],"readme":"# Locutus\n\n\u003e All your standard libraries will be assimilated into our JavaScript collective. Resistance is futile.\n\nWelcome to Locutus, where the boundaries of coding languages blur. We're a dedicated collective developers on a mission\nto explore the possibilities of porting standard libraries from various programming language (Go, Ruby, PHP, C) to\nJavaScript. Our journey is one of discovery, innovation, and sometimes, delightful chaos.\n\nFrom the complex to the quirky, we assimilate libraries with a spirit of curiosity and a penchant for experimentation.\nOur creations typically start as rainy Sunday afternoon puzzles, and end up ranging from groundbreaking functions that\nenhance the JavaScript ecosystem, to unique oddities that challenge the norms of coding.\n\nAs we navigate through this uncharted territory, we invite you to join us. Whether to contribute, learn, or simply\nmarvel at the wonders of cross-language integration and portability, your presence on GitHub is valued.\n\nEmbark on this journey with us at [locutus.io](https://locutus.io/).\n\nUse our creations at your own risk, and may they inspire you to push the boundaries of what's possible with JavaScript.\n\n## Table of contents\n\n- [Install](#install)\n- [Use](#use)\n- [Development](#development)\n\n## Install\n\n```bash\nyarn add locutus\n```\n\n## Use\n\n```bash\n$ vim php.js\n```\n\n```javascript\nconst sprintf = require('locutus/php/strings/sprintf')\nconst echo = require('locutus/php/strings/echo')\nconst effectiveness = 'futile'\necho(sprintf('Resistance is %s', effectiveness))\n```\n\n```bash\n$ node php.js\nResistance is futile\n```\n\n```bash\n$ vim go.js\n```\n\n```javascript\nconst strings = require('locutus/golang/strings')\nconsole.log(strings.Contains('Locutus', 'cut'))\n```\n\n```bash\n$ node go.js\ntrue\n```\n\n## Development\n\nSome guidelines and instructions can be found in [CONTRIBUTING.md](CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvz%2Flocutus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkvz%2Flocutus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvz%2Flocutus/lists"}