{"id":16808942,"url":"https://github.com/timakin/rashomon","last_synced_at":"2025-03-17T09:43:59.414Z","repository":{"id":28430145,"uuid":"31945070","full_name":"timakin/rashomon","owner":"timakin","description":"Split your code and text in one line.","archived":false,"fork":false,"pushed_at":"2015-03-17T04:40:06.000Z","size":184,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T19:19:52.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/timakin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-10T07:59:51.000Z","updated_at":"2015-03-17T04:40:06.000Z","dependencies_parsed_at":"2022-09-03T01:10:33.839Z","dependency_job_id":null,"html_url":"https://github.com/timakin/rashomon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Frashomon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Frashomon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Frashomon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Frashomon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timakin","download_url":"https://codeload.github.com/timakin/rashomon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244012814,"owners_count":20383667,"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-10-13T10:00:25.085Z","updated_at":"2025-03-17T09:43:59.387Z","avatar_url":"https://github.com/timakin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Rashomon\nCut code in two.\u003cbr/\u003e\nRashomon let you split code to comment and code description in one linear.\u003cbr/\u003e\n![978590B696E581I8CB489E6.jpg](https://qiita-image-store.s3.amazonaws.com/0/16301/135862f1-81ac-e832-ff00-ffc974d97025.jpeg \"978590B696E581I8CB489E6.jpg\")\n\n\n## Dependencies\n- line-reader(^0.2.4)\n\n## Installation\n```\nnpm install rashomon\n```\n\n## How to use\nPrepare the target code you'd split.\u003cbr/\u003e\n(In this introduction, we use following test.js)\n\n```js:test.js\n// this is comment\nvar Say = \"YoHo\";\n```\n\nThen, you can save comment and code separetely with Rashomon library.\n\n```js:usecase\nvar path     = require('path');\nvar Rashomon = require('rashomon');\nvar target   = path.join(__dirname, './test.js');\nvar result   = Rashomon.parseCode(target);\n\nconsole.log(result);\n// [{\"docsText\":\"this is comment\", \"codeText\": \"var Say = \"YoHo\";\"}]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimakin%2Frashomon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimakin%2Frashomon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimakin%2Frashomon/lists"}