{"id":19977852,"url":"https://github.com/devbyray/is-between-js","last_synced_at":"2026-04-17T10:09:39.998Z","repository":{"id":57276998,"uuid":"236468573","full_name":"devbyray/is-between-js","owner":"devbyray","description":"IsBetween.js | Check if a number is between a minimum or a maximum number","archived":false,"fork":false,"pushed_at":"2020-02-08T20:47:29.000Z","size":310,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-14T20:11:55.509Z","etag":null,"topics":["between","check","javascript","microlibrary","nodejs","number","range","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/is-between-js","language":"TypeScript","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/devbyray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-27T10:43:15.000Z","updated_at":"2020-06-01T07:07:27.000Z","dependencies_parsed_at":"2022-08-25T04:12:21.789Z","dependency_job_id":null,"html_url":"https://github.com/devbyray/is-between-js","commit_stats":null,"previous_names":["raymonschouwenaar/is-between-js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devbyray/is-between-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbyray%2Fis-between-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbyray%2Fis-between-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbyray%2Fis-between-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbyray%2Fis-between-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devbyray","download_url":"https://codeload.github.com/devbyray/is-between-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbyray%2Fis-between-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31924447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"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":["between","check","javascript","microlibrary","nodejs","number","range","typescript"],"created_at":"2024-11-13T03:29:34.210Z","updated_at":"2026-04-17T10:09:39.978Z","avatar_url":"https://github.com/devbyray.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IsBetween.js\n\n[![Build Status](https://travis-ci.com/raymonschouwenaar/is-between-js.svg?branch=master)](https://travis-ci.com/raymonschouwenaar/is-between-js)\n[![npm version](https://badge.fury.io/js/is-between-js.svg)](https://badge.fury.io/js/is-between-js)\n\n## Install\n\n```\nnpm i is-between-js\n```\n\n## How to use?\n\nYou can import the isBetween function in your JavaScript/TypeScript file and use it like this!\n\nThe TypeScript types are included in the library.\n\n```javascript\nimport { isBetween } from 'is-between-js'\n\nisBetween(1).min(0).max(10).calc() // returns true\nisBetween(10).min(0).max(9).calc() // returns false\n```\n\nor\n\n```javascript\nimport { Between } from 'is-between-js'\n\nconst between = new Between()\n\nbetween.value(1).min(0).max(10).calc() // returns true\nbetween.value(10).min(0).max(9).calc() // returns false\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevbyray%2Fis-between-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevbyray%2Fis-between-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevbyray%2Fis-between-js/lists"}