{"id":15853336,"url":"https://github.com/fabioricali/typis","last_synced_at":"2026-01-11T01:41:49.412Z","repository":{"id":57384122,"uuid":"101048043","full_name":"fabioricali/typis","owner":"fabioricali","description":"Detects object type.","archived":false,"fork":false,"pushed_at":"2023-02-27T18:40:56.000Z","size":93,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T19:00:40.548Z","etag":null,"topics":["checks","javascript","object","types"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabioricali.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-22T09:50:13.000Z","updated_at":"2017-08-22T09:59:44.000Z","dependencies_parsed_at":"2023-02-09T02:45:28.093Z","dependency_job_id":null,"html_url":"https://github.com/fabioricali/typis","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/fabioricali%2Ftypis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabioricali%2Ftypis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabioricali%2Ftypis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabioricali%2Ftypis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabioricali","download_url":"https://codeload.github.com/fabioricali/typis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237643133,"owners_count":19343367,"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":["checks","javascript","object","types"],"created_at":"2024-10-05T19:04:19.773Z","updated_at":"2026-01-11T01:41:49.388Z","avatar_url":"https://github.com/fabioricali.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003etypis\u003c/h1\u003e\nDetects object type.\n\u003cbr/\u003e\u003cbr/\u003e\n\u003ca href=\"https://travis-ci.org/fabioricali/typis\" target=\"_blank\"\u003e\u003cimg src=\"https://travis-ci.org/fabioricali/typis.svg?branch=master\" title=\"Build Status\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://coveralls.io/github/fabioricali/typis?branch=master\" target=\"_blank\"\u003e\u003cimg src=\"https://coveralls.io/repos/github/fabioricali/typis/badge.svg?branch=master\" title=\"Coverage Status\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://opensource.org/licenses/MIT\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" title=\"License: MIT\"/\u003e\u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/badge/team-terrons-orange.svg\" title=\"Team Terrons\"/\u003e\n\u003c/div\u003e\n\n## Installation\n\n### Node.js\n```\nnpm install typis --save\n```\n\n## Example\n\n```javascript\nconst type = require('typis');\n\nconsole.log(type.get([])); //=\u003e Array;\nconsole.log(type.get(123)); //=\u003e Number;\nconsole.log(type.get(true)); //=\u003e Boolean;\n\nconsole.log(type.is(123, 'boolean')); //=\u003e false;\n\n// Throw an error\ntype.throw(123, 'boolean'); //=\u003e error;\ntype.throw(123, 'boolean', 'your custom message error'); //=\u003e error;\n```\n\n## API\nSee \u003ca href=\"https://github.com/fabioricali/typis/blob/master/api.md\"\u003efull documentation\u003c/a\u003e\n\n## Changelog\nYou can view the changelog \u003ca target=\"_blank\" href=\"https://github.com/fabioricali/typis/blob/master/CHANGELOG.md\"\u003ehere\u003c/a\u003e\n\n## License\ntypis is open-sourced software licensed under the \u003ca target=\"_blank\" href=\"http://opensource.org/licenses/MIT\"\u003eMIT license\u003c/a\u003e\n\n## Author\n\u003ca target=\"_blank\" href=\"http://rica.li\"\u003eFabio Ricali\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabioricali%2Ftypis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabioricali%2Ftypis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabioricali%2Ftypis/lists"}