{"id":16326031,"url":"https://github.com/boizz/realtype","last_synced_at":"2025-10-26T01:47:11.932Z","repository":{"id":57348921,"uuid":"90765089","full_name":"boizz/realtype","owner":"boizz","description":"Can be used to distinguish between these types: boolean, number, string, function, array, date, regexp, object, error.","archived":false,"fork":false,"pushed_at":"2018-02-13T06:54:26.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T01:47:11.659Z","etag":null,"topics":["array","javascript","typeof"],"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/boizz.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":"2017-05-09T15:58:09.000Z","updated_at":"2018-02-19T12:14:42.000Z","dependencies_parsed_at":"2022-08-24T22:50:42.928Z","dependency_job_id":null,"html_url":"https://github.com/boizz/realtype","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boizz/realtype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boizz%2Frealtype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boizz%2Frealtype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boizz%2Frealtype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boizz%2Frealtype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boizz","download_url":"https://codeload.github.com/boizz/realtype/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boizz%2Frealtype/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281047807,"owners_count":26435124,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"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":["array","javascript","typeof"],"created_at":"2024-10-10T23:07:16.438Z","updated_at":"2025-10-26T01:47:11.896Z","avatar_url":"https://github.com/boizz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# realtype\n\n[![](https://img.shields.io/travis/BoizZ/realtype.svg?style=flat-square)](https://travis-ci.org/BoizZ/realtype)\n[![npm package](https://img.shields.io/npm/v/realtype.svg?style=flat-square)](https://www.npmjs.org/package/realtype)\n[![NPM downloads](http://img.shields.io/npm/dm/realtype.svg?style=flat-square)](https://npmjs.org/package/realtype)\n[![Dependency Status](https://david-dm.org/BoizZ/realtype.svg?style=flat-square)](https://david-dm.org/BoizZ/realtype)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FBoizZ%2Frealtype.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FBoizZ%2Frealtype?ref=badge_shield)\n\nCan be used to distinguish between these types: boolean, number, string, function, array, date, regexp, object, error.\n\n## Usage\n\n```bash\nnpm i --save realtype\n```\n\n```js\nvar realtype = require('realtype');\nrealtype(['Heleth']);\n// =\u003e array\n```\n\n## API\n\n```js\nrealtype(obj: any): 'boolean' | 'number' | 'string' | 'function' | 'array' | 'date' | 'regexp' | 'object' | 'error'\n```\n\nReturn real type.\n\n## License\n\nMIT\n\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FBoizZ%2Frealtype.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FBoizZ%2Frealtype?ref=badge_large)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboizz%2Frealtype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboizz%2Frealtype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboizz%2Frealtype/lists"}