{"id":21766026,"url":"https://github.com/narazaka/opal-file","last_synced_at":"2025-08-12T21:18:19.167Z","repository":{"id":56886794,"uuid":"108619861","full_name":"Narazaka/opal-file","owner":"Narazaka","description":"native File.read, File.write etc... for Opal","archived":false,"fork":false,"pushed_at":"2020-03-05T11:58:50.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T17:00:05.690Z","etag":null,"topics":["dir","file","filesystem","opal","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/Narazaka.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":"2017-10-28T04:32:42.000Z","updated_at":"2020-10-20T11:44:31.000Z","dependencies_parsed_at":"2022-08-20T13:51:00.277Z","dependency_job_id":null,"html_url":"https://github.com/Narazaka/opal-file","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2Fopal-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2Fopal-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2Fopal-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2Fopal-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Narazaka","download_url":"https://codeload.github.com/Narazaka/opal-file/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732489,"owners_count":21152852,"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":["dir","file","filesystem","opal","ruby"],"created_at":"2024-11-26T13:14:47.898Z","updated_at":"2025-04-13T15:11:46.605Z","avatar_url":"https://github.com/Narazaka.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# opal-file\n\nnative File.read, File.write etc... for Opal\n\n## What is this?\n\nOpal's File class does not have methods for file IO but this module provides them.\n\nThis provides...\n\n- `File` (partial; no #open and #new)\n- `File::Stat` (partial)\n- `FileTest` (partial)\n- `Errno::EXXX`\n\nPull requests are welcome!\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'opal-file'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install opal-file\n\n## Usage\n\nwrite foo.rb\n\n```ruby\nrequire \"opal-file\"\n\nputs File.read(\"./foo\")\n```\n\nand compile\n\n```bash\nopal --gem opal-file foo.rb \u003e foo.js\n```\n\nand run!\n\n```bash\nnode foo.js\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/Narazaka/opal-file.\n\n## License\n\nThis is released under [MIT License](https://narazaka.net/license/MIT?2017)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarazaka%2Fopal-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnarazaka%2Fopal-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarazaka%2Fopal-file/lists"}