{"id":13649501,"url":"https://github.com/kevva/is-positive","last_synced_at":"2025-05-09T01:22:01.345Z","repository":{"id":33092660,"uuid":"36730150","full_name":"kevva/is-positive","owner":"kevva","description":"Check if something is a positive number","archived":false,"fork":false,"pushed_at":"2017-06-28T16:41:24.000Z","size":12,"stargazers_count":68,"open_issues_count":1,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-06T23:02:43.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"SergeyMirvoda/MD-DA-2018","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevva.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-02T12:01:43.000Z","updated_at":"2025-01-10T11:05:26.000Z","dependencies_parsed_at":"2022-07-24T17:47:14.941Z","dependency_job_id":null,"html_url":"https://github.com/kevva/is-positive","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevva%2Fis-positive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevva%2Fis-positive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevva%2Fis-positive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevva%2Fis-positive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevva","download_url":"https://codeload.github.com/kevva/is-positive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253172142,"owners_count":21865470,"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-08-02T02:00:17.708Z","updated_at":"2025-05-09T01:22:01.314Z","avatar_url":"https://github.com/kevva.png","language":"JavaScript","funding_links":[],"categories":["Libraries, Frameworks and SDKs"],"sub_categories":[],"readme":"# is-positive [![Build Status](https://travis-ci.org/kevva/is-positive.svg?branch=master)](https://travis-ci.org/kevva/is-positive)\n\n\u003e Check if something is a positive number\n\n\n## Install\n\n```\n$ npm install --save is-positive\n```\n\n\n## Usage\n\n```js\nconst isPositive = require('is-positive');\n\nisPositive(1);\n//=\u003e true\n\nisPositive(0);\n//=\u003e false\n\nisPositive(-1);\n//=\u003e false\n\nisPositive('1');\n//=\u003e false\n\nisPositive(Number(1))\n//=\u003e true\n```\n\n_Note: This module doesn't consider `0` to be a positive number and doesn't distinguish between `-0` and `0`. If you want to detect `0`, use the [`positive-zero`](https://github.com/sindresorhus/positive-zero) module._\n\n\n## Related\n\n- [is-negative](https://github.com/kevva/is-negative) - Check if something is a negative number\n\n\n## License\n\nMIT © [Kevin Martensson](http://github.com/kevva)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevva%2Fis-positive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevva%2Fis-positive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevva%2Fis-positive/lists"}