{"id":38543169,"url":"https://github.com/knowbee/rona","last_synced_at":"2026-01-17T07:13:12.108Z","repository":{"id":57355635,"uuid":"248553596","full_name":"knowbee/rona","owner":"knowbee","description":"Convert require syntax to ES6 import syntax","archived":false,"fork":false,"pushed_at":"2021-02-23T05:07:50.000Z","size":81,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-07T01:44:09.465Z","etag":null,"topics":["convert-to-es6","es6","import","require","require-to-import","requiretoimport","transform"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/rona","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knowbee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-19T16:36:10.000Z","updated_at":"2023-06-21T05:38:30.000Z","dependencies_parsed_at":"2022-09-10T22:20:49.413Z","dependency_job_id":null,"html_url":"https://github.com/knowbee/rona","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/knowbee/rona","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frona","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frona/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frona/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frona/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knowbee","download_url":"https://codeload.github.com/knowbee/rona/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frona/sbom","scorecard":{"id":564729,"data":{"date":"2025-08-11","repo":{"name":"github.com/knowbee/rona","commit":"e0830bffc78ffa7fb5a88c625c995a43ce591be5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 2/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T14:40:06.865Z","repository_id":57355635,"created_at":"2025-08-20T14:40:06.865Z","updated_at":"2025-08-20T14:40:06.865Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28503218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["convert-to-es6","es6","import","require","require-to-import","requiretoimport","transform"],"created_at":"2026-01-17T07:13:11.313Z","updated_at":"2026-01-17T07:13:12.100Z","avatar_url":"https://github.com/knowbee.png","language":"JavaScript","readme":"# rona\n\n[![Build Status](https://travis-ci.com/knowbee/rona.svg?token=yN9jXnk59suszMqNsJJb\u0026branch=master)](https://travis-ci.com/knowbee/rona)\n[![npm](https://img.shields.io/npm/dt/rona.svg)](https://www.npmjs.com/package/rona)\n[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)\n[![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)\n\n    convert require syntax to ES6 import syntax\n\n## Supported conversions\n\n```js\nconst something = require(\"example\"); // =\u003e import something from \"example\";\n\nconst Ben = require(\"person\").name; // =\u003e import { name as Ben } from \"person\";\n\nconst { something } = require(\"things\"); // =\u003e import { something } from \"things\";\n\nconst { something, anotherThing } = require(\"things\"); // =\u003e import { something, anotherThing } from \"things\";\n\nconst something = require(\"things\")(); // =\u003e import something from \"things\";\n\nrequire(\"things\"); // =\u003e import \"things\";\n\nrequire(\"../things\"); // =\u003e import \"../things\";\n\nconst something = require(\"things\").something(); // =\u003e import { something } from \"things\";\n\nconst { thing, thingy: anotherThing } = require(\"module\"); // =\u003e import { thing, thingy as anotherThing} from \"module\"\n\nconst {\n  thing,\n  anotherThing,\n  widget: renamedWidget,\n  shape: anotherShape,\n  color,\n} = require(\"module\"); // =\u003e import { thing, anotherThing, widget as renamedWidget, shape as anotherShape, color } from \"module\";\n```\n\n## Installation\n\n```\nnpm install -g rona\n```\n\n```\nyarn global add rona\n```\n\n## Usage\n\n::\n\n    Usage: rona [options]\n\n    rona is a tool that converts your project require syntax to ES6 import syntax as it should be\n\n    Options:\n\n      --version,  -V            output the version number\n      --path,     -p            provide a path to run rona\n      -h,         --help        output usage information\n\n    Example:\n      rona --path ./src\n\n## Contribution\n\n- Please before making a PR, read first this [Contributing Guideline](./CONTRIBUTING.md)\n\n## License\n\nMIT\n\n## Author\n\nIgwaneza Bruce\n\n\u003cknowbeeinc@gmail.com\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowbee%2Frona","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknowbee%2Frona","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowbee%2Frona/lists"}