{"id":21275240,"url":"https://github.com/geisonjr/typefy","last_synced_at":"2026-04-19T04:37:52.119Z","repository":{"id":226304255,"uuid":"766665162","full_name":"GeisonJr/typefy","owner":"GeisonJr","description":"Typefy is a versatile and lightweight library for Node.js that simplifies variable type checking.","archived":false,"fork":false,"pushed_at":"2024-03-06T23:21:45.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T00:25:46.423Z","etag":null,"topics":["node","nodejs","npm","npm-package","portfolio","typescript","typescript-library"],"latest_commit_sha":null,"homepage":"","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-03T21:44:47.000Z","updated_at":"2025-08-02T23:47:46.000Z","dependencies_parsed_at":"2024-11-21T09:39:38.514Z","dependency_job_id":null,"html_url":"https://github.com/GeisonJr/typefy","commit_stats":null,"previous_names":["geisonjr/typefy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GeisonJr/typefy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Ftypefy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Ftypefy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Ftypefy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Ftypefy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeisonJr","download_url":"https://codeload.github.com/GeisonJr/typefy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Ftypefy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31995167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["node","nodejs","npm","npm-package","portfolio","typescript","typescript-library"],"created_at":"2024-11-21T09:29:01.414Z","updated_at":"2026-04-19T04:37:52.099Z","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\tTypefy Library\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\u003c/div\u003e\r\n\r\n\u003cdiv align=\"center\"\u003e\r\n\r\n[![CI](https://github.com/GeisonJr/typefy/actions/workflows/ci.yaml/badge.svg)](https://github.com/GeisonJr/typefy/actions/workflows/ci.yaml)\r\n[![CD](https://github.com/GeisonJr/typefy/actions/workflows/cd.yaml/badge.svg)](https://github.com/GeisonJr/typefy/actions/workflows/cd.yaml)\r\n[![LICENSE](https://img.shields.io/github/license/geisonjr/typefy?style=flat)](https://github.com/GeisonJr/typefy/blob/main/LICENSE)\r\n[![NPM version](https://img.shields.io/npm/v/@geisonjr/typefy?style=flat)](https://npmjs.com/package/@geisonjr/typefy)\r\n[![NPM downloads](https://img.shields.io/npm/dt/@geisonjr/typefy?style=flat)](https://npmjs.com/package/@geisonjr/typefy)\r\n\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### Infer the type\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] isFunction\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] isUndefined\r\n- [x] isURL\r\n- [x] isURLSearchParams\r\n- [x] isVoid\r\n\r\n### Check the value\r\n\r\n- [x] isFalsy\r\n- [x] isNaNumber\r\n- [x] isTruthy\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/typefy\r\n```\r\n\r\n```bash\r\nyarn add @geisonjr/typefy\r\n```\r\n\r\n## 🏗️ Usage\r\n\r\n### Example with True Condition\r\n\r\n```typescript\r\nimport { isBoolean } from '@geisonjr/typefy'\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 { isNumber } from '@geisonjr/typefy'\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/typefy/blob/master/LICENSE)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeisonjr%2Ftypefy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeisonjr%2Ftypefy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeisonjr%2Ftypefy/lists"}