{"id":21275263,"url":"https://github.com/geisonjr/teste","last_synced_at":"2025-07-30T02:05:49.553Z","repository":{"id":225734145,"uuid":"766693476","full_name":"GeisonJr/teste","owner":"GeisonJr","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-03T23:53:34.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T11:17:03.255Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/GeisonJr.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-03T23:49:36.000Z","updated_at":"2024-07-06T21:35:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"cff46862-2878-4b23-b12b-c46e26e36d41","html_url":"https://github.com/GeisonJr/teste","commit_stats":null,"previous_names":["geisonjr/teste"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Fteste","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Fteste/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Fteste/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Fteste/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeisonJr","download_url":"https://codeload.github.com/GeisonJr/teste/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243732303,"owners_count":20338839,"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-21T09:29:08.772Z","updated_at":"2025-03-15T13:12:49.238Z","avatar_url":"https://github.com/GeisonJr.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"https://geison.dev/\"\u003e\r\n    \u003cimg width=\"100\" src=\"https://geison.dev/assets/icons/logo.svg\" alt=\"Logo\" /\u003e\r\n  \u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n\u003ch1 align=\"center\"\u003e\r\n\tType Checker\r\n\u003c/h1\u003e\r\n\u003cdiv align=\"center\"\u003e\r\n\r\nEasy to use, fast and lightweight library for Node.js.\r\n\r\n\u003ca\u003e\r\n\t\u003cimg src=\"https://img.shields.io/github/license/geisonjr/type-checker?style=flat\" alt=\"MIT Licence\" /\u003e\r\n\u003c/a\u003e\r\n\u003ca href=\"https://www.npmjs.com/package/@geisonjr/type-checker\"\u003e\r\n\t\u003cimg src=\"https://img.shields.io/npm/v/@geisonjr/type-checker?style=flat-square\" alt=\"NPM version\" /\u003e\r\n\u003c/a\u003e\r\n\u003ca href=\"https://www.npmjs.com/package/@geisonjr/type-checker\"\u003e\r\n\t\u003cimg src=\"https://img.shields.io/npm/dt/@geisonjr/type-checker?style=flat-square\" alt=\"NPM downloads\" /\u003e\r\n\u003c/a\u003e\r\n\u003c/div\u003e\r\n\r\n\u003e [!WARNING]\r\n\u003e This project is under development and is not yet ready for use.\r\n\r\n## 🌱 Overview\r\n\r\nThis library is a collection of functions that help you to check the type of a variable in JavaScript and TypeScript.\r\n\r\n## ✨ Features\r\n\r\n- [x] isArray\r\n- [x] isArrayBuffer\r\n- [x] isBigInt\r\n- [x] isBlob\r\n- [x] isBoolean\r\n- [x] isBuffer\r\n- [x] isDate\r\n- [x] isEnum\r\n- [x] isError\r\n- [x] isFalsy\r\n- [x] isFunction\r\n- [x] isNaNumber\r\n- [x] isNothing\r\n- [x] isNull\r\n- [x] isNullOrUndefined\r\n- [x] isNumber\r\n- [x] isObject\r\n- [x] isPromise\r\n- [x] isRegExp\r\n- [x] isString\r\n- [x] isSymbol\r\n- [x] isTruthy\r\n- [x] isUndefined\r\n- [x] isURL\r\n- [x] isURLSearchParams\r\n- [x] isVoid\r\n\r\n## 🚀 Tecnologies\r\n\r\nThe following tools were used in the construction of the project:\r\n\r\n- [Jest](https://jestjs.io/)\r\n- [Node.js](https://nodejs.org/en/)\r\n- [TypeScript](https://www.typescriptlang.org/)\r\n\r\n## 📦 Install\r\n\r\nUse the package manager [npm](https://docs.npmjs.com/),\r\n[yarn](https://yarnpkg.com).\r\n\r\n```bash\r\nnpm install @geisonjr/type-checker\r\n```\r\n\r\n```bash\r\nyarn add @geisonjr/type-checker\r\n```\r\n\r\n## 🏗️ Usage\r\n\r\n### Example with True Condition\r\n\r\n```typescript\r\nimport '@geisonjr/type-checker'\r\n\r\nlet test: any = true // false\r\n\r\n// Is `true` if the value is a boolean type\r\nif (isBoolean(test)) {\r\n\t// The intelisense will be recognize the variable as a boolean\r\n\tconsole.log('This is a boolean')\r\n}\r\n\r\n// Output: This is a boolean\r\n```\r\n\r\n### Example with False Condition\r\n\r\n```typescript\r\nimport '@geisonjr/type-checker'\r\n\r\nlet test: any = '123'\r\n\r\n// Is `true` if the value is a number type\r\nif (isNumber(test)) {\r\n\t// The intelisense will be recognize the variable as a number\r\n\tconsole.log('This is a number')\r\n} else {\r\n\t// The intelisense will be recognize the variable not as a number\r\n\tconsole.log('This is not a number')\r\n}\r\n\r\n// Output: This is not a number\r\n```\r\n\r\n## 📋 License\r\n\r\nThis project is under the\r\n[MIT License](https://github.com/geisonjr/type-checker/blob/master/LICENSE)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeisonjr%2Fteste","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeisonjr%2Fteste","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeisonjr%2Fteste/lists"}