{"id":21658922,"url":"https://github.com/maevadevs/numery","last_synced_at":"2026-01-16T16:09:49.095Z","repository":{"id":65466718,"uuid":"163613047","full_name":"maevadevs/numery","owner":"maevadevs","description":"NodeJS: A collection of useful helper functions for numbers manipulation in JS that I wrote. This is available on NPM.","archived":false,"fork":false,"pushed_at":"2018-12-31T18:36:58.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T04:22:32.898Z","etag":null,"topics":["javascript-library","npm-package","numbers-manipulation","numery"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/maevadevs.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":"2018-12-30T19:44:45.000Z","updated_at":"2024-04-28T04:48:52.000Z","dependencies_parsed_at":"2023-02-20T18:15:49.674Z","dependency_job_id":null,"html_url":"https://github.com/maevadevs/numery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maevadevs/numery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maevadevs%2Fnumery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maevadevs%2Fnumery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maevadevs%2Fnumery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maevadevs%2Fnumery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maevadevs","download_url":"https://codeload.github.com/maevadevs/numery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maevadevs%2Fnumery/sbom","scorecard":{"id":610752,"data":{"date":"2025-08-11","repo":{"name":"github.com/maevadevs/numery","commit":"58f7f8ca25b1de3cbf314718ee95e9cf416bc7f3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/8 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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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"}}]},"last_synced_at":"2025-08-21T02:35:47.304Z","repository_id":65466718,"created_at":"2025-08-21T02:35:47.304Z","updated_at":"2025-08-21T02:35:47.304Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["javascript-library","npm-package","numbers-manipulation","numery"],"created_at":"2024-11-25T09:30:03.164Z","updated_at":"2026-01-16T16:09:49.053Z","avatar_url":"https://github.com/maevadevs.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Numery\n\nNumery is a collection of useful helper functions for numbers manipulation in Javascript\n\n## Installation\n\n```\nyarn add numery\n```\n\n## Usage\n\n```js\nconst { isValidNumber } = require('numery')\n```\n\n## Contents\n\n- [For Numbers in General](#numbers-in-general)\n  - [`isValidNumber`](#isValidNumber)\n  - [`isEvenNumber`](#isEvenNumber)\n  - [`isOddNumber`](#isOddNumber)\n  - [`isFiniteNumber`](#isFiniteNumber)\n  - [`isFinitePositiveNumber`](#isFinitePositiveNumber)\n  - [`isStrictFinitePositiveNumber`](#isStrictFinitePositiveNumber)\n  - [`isFiniteNegativeNumber`](#isFiniteNegativeNumber)\n  - [`isNumberMultipleOf`](#isNumberMultipleOf)\n- [For Integers](#for-integers)\n  - [`isInterger`](#isInteger)\n  - [`isPositiveInteger`](#isPositiveInteger)\n  - [`isStrictPositiveInteger`](#isStrictPositiveInteger)\n  - [`isNegativeInteger`](#isNegativeInteger)\n\n## For Numbers in General\u003ca name=\"numbers-in-general\"\u003e\u003c/a\u003e\n\n### `isValidNumber`\u003ca name=\"isValidNumber\"\u003e\u003c/a\u003e\n\n- Signature: `isValidNumber(x: Any) =\u003e boolean`\n- Verify that the given argument data type is in fact a valid number.\n- A valid number is any number between `[-Infinity, Infinity]`, including the infinities, but not `NaN`.\n- To exclude infinities, use `isFiniteNumber(x)` instead\n- Return `true` if a valid number. `false` otherwise.\n\n### `isEvenNumber`\u003ca name=\"isEvenNumber\"\u003e\u003c/a\u003e\n\n- Signature: `isEvenNumber(x: Any) =\u003e boolean`\n- Verify if the argument is an even number.\n- Return `true` if even. `false` otherwise.\n\n### `isOddNumber`\u003ca name=\"isOddNumber\"\u003e\u003c/a\u003e\n\n- Signature: `isOddNumber(x: Any) =\u003e boolean`\n- Verify if the argument is an odd number.\n- Return `true` if odd. `false` otherwise.\n\n### `isFiniteNumber`\u003ca name=\"isFiniteNumber\"\u003e\u003c/a\u003e\n\n- Signature: `isFiniteNumber(x: Any) =\u003e boolean`\n- Verify that the argument is in fact a finite number.\n- A finite number is a valid number that is not an infinity (+ or -).\n- Return `true` if a finite number. `false` otherwise.\n\n### `isFinitePositiveNumber`\u003ca name=\"isFinitePositiveNumber\"\u003e\u003c/a\u003e\n\n- Signature: `isFinitePositiveNumber(x: Any) =\u003e boolean`\n- Verify that the argument is in fact a finite and positive number, including `0`\n- A finite number is a valid number that is not an infinity (+ or -).\n- Return `true` if a finite positive number. `false` otherwise.\n\n### `isStrictFinitePositiveNumber`\u003ca name=\"isStrictFinitePositiveNumber\"\u003e\u003c/a\u003e\n\n- Signature: `isStrictFinitePositiveNumber(x: Any) =\u003e boolean`\n- Verify that the argument is in fact a finite and strictly positive number, not including `0`\n- A finite number is a valid number that is not an infinity (+ or -).\n- Return `true` if a strict finite positive number. `false` otherwise.\n\n### `isFiniteNegativeNumber`\u003ca name=\"isFiniteNegativeNumber\"\u003e\u003c/a\u003e\n\n- Signature: `isFiniteNegativeNumber(x: Any) =\u003e boolean`\n- Verify that the argument is in fact a finite and negative number\n- A finite number is a valid number that is not an infinity (+ or -).\n- Return `true` if a finite negative number. `false` otherwise.\n\n### `isNumberMultipleOf`\u003ca name=\"isNumberMultipleOf\"\u003e\u003c/a\u003e\n\n- Signature: `isNumberMultipleOf(x: Any, y: Any) =\u003e boolean`\n- Verify if the first argument is a multiple of the second argument.\n- NOTE: Second argument must be a strict positive number. return false otherwise.\n- Return `true` if multiple. `false` otherwise.\n\n## For Integers\u003ca name=\"for-integers\"\u003e\u003c/a\u003e\n\n### `isInteger`\u003ca name=\"isInteger\"\u003e\u003c/a\u003e\n\n- Signature: `isInteger(x: Any) =\u003e boolean`\n- Verify if a given number is a valid integer.\n- Infinities are not integers.\n- Return `true` if an integer. `false` otherwise.\n\n### `isPositiveInteger`\u003ca name=\"isPositiveInteger\"\u003e\u003c/a\u003e\n\n- Signature: `isPositiveInteger(x: Any) =\u003e boolean`\n- Verify if a given number is a valid positive integer, including 0.\n- Return `true` if a positive integer. `false` otherwise.\n\n### `isStrictPositiveInteger`\u003ca name=\"isStrictPositiveInteger\"\u003e\u003c/a\u003e\n\n- Signature: `isStrictPositiveInteger(x: Any) =\u003e boolean`\n- Verify if a given number is a valid positive integer, strictly not equal to `0`.\n- Return `true` if a strict positive integer. `false` otherwise.\n\n### `isNegativeInteger`\u003ca name=\"isNegativeInteger\"\u003e\u003c/a\u003e\n\n- Signature: `isNegativeInteger(x: Any) =\u003e boolean`\n- Verify if a given number is a valid negative integer.\n- Return `true` if a negative integer. `false` otherwise.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaevadevs%2Fnumery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaevadevs%2Fnumery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaevadevs%2Fnumery/lists"}