{"id":20311348,"url":"https://github.com/sofakingworld/nmax","last_synced_at":"2026-05-29T21:31:34.876Z","repository":{"id":104393787,"uuid":"107679320","full_name":"sofakingworld/nmax","owner":"sofakingworld","description":"funbox qualification test","archived":false,"fork":false,"pushed_at":"2017-10-24T23:19:23.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T12:17:01.380Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/sofakingworld.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2017-10-20T13:08:41.000Z","updated_at":"2017-10-20T13:09:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"b77031dd-b17b-4577-8d2d-8266c4188013","html_url":"https://github.com/sofakingworld/nmax","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/sofakingworld%2Fnmax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofakingworld%2Fnmax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofakingworld%2Fnmax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofakingworld%2Fnmax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sofakingworld","download_url":"https://codeload.github.com/sofakingworld/nmax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241809607,"owners_count":20023787,"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-14T17:36:56.630Z","updated_at":"2026-05-29T21:31:34.869Z","avatar_url":"https://github.com/sofakingworld.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/SofaKing18/nmax.svg?branch=master)](https://travis-ci.org/SofaKing18/nmax)\n\n=======\n\n# Nmax\nThis gem returns N maximum integers from input string or stdin  \n\nnumber is a sequence from 1 to 1000 digits  \n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'nmax'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install nmax\n\n## Usage\n\nruby\n\n```ruby\nrequire 'nmax'\n\nobj = Nmax::STDReader.new(3) # return 3 max numbers\nobj.get_numbers('a33b42c31f-3-4')\nobj.max_numbers # =\u003e [31, 33, 42]\n```\n\nor in console\n\n```bash\ncat Example_file.txt | nmax 30  \n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/SofaKing18/nmax.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsofakingworld%2Fnmax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsofakingworld%2Fnmax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsofakingworld%2Fnmax/lists"}