{"id":13526648,"url":"https://github.com/enricomarino/is","last_synced_at":"2025-05-15T16:05:46.325Z","repository":{"id":1787574,"uuid":"2711453","full_name":"enricomarino/is","owner":"enricomarino","description":"The definitive JavaScript type testing library","archived":false,"fork":false,"pushed_at":"2024-05-28T19:23:01.000Z","size":222,"stargazers_count":191,"open_issues_count":0,"forks_count":25,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-11T20:03:23.267Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"flatiron/director","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enricomarino.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-11-04T18:50:05.000Z","updated_at":"2025-04-20T20:23:43.000Z","dependencies_parsed_at":"2024-06-18T12:37:44.634Z","dependency_job_id":null,"html_url":"https://github.com/enricomarino/is","commit_stats":{"total_commits":245,"total_committers":14,"mean_commits":17.5,"dds":0.3346938775510204,"last_synced_commit":"d2bc3e79d2bfef76e1324c78e772833f33807ec7"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enricomarino%2Fis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enricomarino%2Fis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enricomarino%2Fis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enricomarino%2Fis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enricomarino","download_url":"https://codeload.github.com/enricomarino/is/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254166992,"owners_count":22025876,"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-08-01T06:01:32.629Z","updated_at":"2025-05-15T16:05:46.300Z","avatar_url":"https://github.com/enricomarino.png","language":"JavaScript","funding_links":[],"categories":["Repository","JavaScript"],"sub_categories":["Check/Detect"],"readme":"# is \u003csup\u003e[![Version Badge][npm-version-svg]][npm-url]\u003c/sup\u003e\n\n[![Build Status][travis-svg]][travis-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][npm-url]\n\n[![browser support][testling-png]][testling-url]\n\nThe definitive JavaScript type testing library\n\nTo be or not to be? This is the library!\n\n## Installation\n\nAs a node.js module\n\n```shell\n$ npm install is\n```\n\nAs a component\n```shell\n$ component install enricomarino/is\n```\n\n## API\n\n### general\n\n - ``is.a`` (value, type) or ``is.type`` (value, type)\n - ``is.defined`` (value)\n - ``is.empty`` (value)\n - ``is.equal`` (value, other)\n - ``is.hosted`` (value, host)\n - ``is.instance`` (value, constructor)\n - ``is.instanceof`` (value, constructor) - deprecated, because in ES3 browsers, \"instanceof\" is a reserved word\n - ``is.nil`` (value)\n - ``is.null`` (value) - deprecated, because in ES3 browsers, \"null\" is a reserved word\n - ``is.undef`` (value)\n - ``is.undefined`` (value) - deprecated, because in ES3 browsers, \"undefined\" is a reserved word\n\n### arguments\n\n - ``is.args`` (value)\n - ``is.arguments`` (value) - deprecated, because \"arguments\" is a reserved word\n - ``is.args.empty`` (value)\n\n### array\n\n - ``is.array`` (value)\n - ``is.array.empty`` (value)\n - ``is.arraylike`` (value)\n\n### boolean\n\n - ``is.bool`` (value)\n - ``is.boolean`` (value) - deprecated, because in ES3 browsers, \"boolean\" is a reserved word\n - ``is.false`` (value) - deprecated, because in ES3 browsers, \"false\" is a reserved word\n - ``is.true`` (value) - deprecated, because in ES3 browsers, \"true\" is a reserved word\n\n### date\n\n - ``is.date`` (value)\n\n### element\n\n - ``is.element`` (value)\n\n### error\n\n - ``is.error`` (value)\n\n### function\n\n - ``is.fn`` (value)\n - ``is.function`` (value) - deprecated, because in ES3 browsers, \"function\" is a reserved word\n\n### number\n\n - ``is.number`` (value)\n - ``is.infinite`` (value)\n - ``is.decimal`` (value)\n - ``is.divisibleBy`` (value, n)\n - ``is.integer`` (value)\n - ``is.int`` (value) - deprecated, because in ES3 browsers, \"int\" is a reserved word\n - ``is.maximum`` (value, others)\n - ``is.minimum`` (value, others)\n - ``is.nan`` (value)\n - ``is.even`` (value)\n - ``is.odd`` (value)\n - ``is.ge`` (value, other)\n - ``is.gt`` (value, other)\n - ``is.le`` (value, other)\n - ``is.lt`` (value, other)\n - ``is.within`` (value, start, finish)\n\n### object\n\n - ``is.object`` (value)\n\n### regexp\n\n - ``is.regexp`` (value)\n\n### string\n\n - ``is.string`` (value)\n\n### encoded binary\n\n - ``is.base64`` (value)\n - ``is.hex`` (value)\n\n### Symbols\n - ``is.symbol`` (value)\n\n### BigInts\n - ``is.bigint`` (value)\n\n## Contributors\n\n- [Jordan Harband](https://github.com/ljharb)\n\n[npm-url]: https://npmjs.org/package/is\n[npm-version-svg]: http://versionbadg.es/enricomarino/is.svg\n[travis-svg]: https://travis-ci.org/enricomarino/is.svg\n[travis-url]: https://travis-ci.org/enricomarino/is\n[deps-svg]: https://david-dm.org/enricomarino/is.svg\n[deps-url]: https://david-dm.org/enricomarino/is\n[dev-deps-svg]: https://david-dm.org/enricomarino/is/dev-status.svg\n[dev-deps-url]: https://david-dm.org/enricomarino/is#info=devDependencies\n[testling-png]: https://ci.testling.com/enricomarino/is.png\n[testling-url]: https://ci.testling.com/enricomarino/is\n[npm-badge-png]: https://nodei.co/npm/is.png?downloads=true\u0026stars=true\n[license-image]: http://img.shields.io/npm/l/is.svg\n[license-url]: LICENSE.md\n[downloads-image]: http://img.shields.io/npm/dm/is.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=is\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenricomarino%2Fis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenricomarino%2Fis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenricomarino%2Fis/lists"}