{"id":13526667,"url":"https://github.com/miguelmota/is-class","last_synced_at":"2025-04-01T07:33:23.034Z","repository":{"id":29131416,"uuid":"32661335","full_name":"miguelmota/is-class","owner":"miguelmota","description":"Check if function is an ES6 class.","archived":true,"fork":false,"pushed_at":"2019-09-24T23:48:02.000Z","size":47,"stargazers_count":43,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T22:05:17.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/miguelmota/is-class","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/miguelmota.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-03-22T04:09:38.000Z","updated_at":"2023-01-27T23:35:07.000Z","dependencies_parsed_at":"2022-08-31T00:01:45.093Z","dependency_job_id":null,"html_url":"https://github.com/miguelmota/is-class","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelmota%2Fis-class","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelmota%2Fis-class/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelmota%2Fis-class/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelmota%2Fis-class/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miguelmota","download_url":"https://codeload.github.com/miguelmota/is-class/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246600919,"owners_count":20803515,"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.903Z","updated_at":"2025-04-01T07:33:18.011Z","avatar_url":"https://github.com/miguelmota.png","language":"JavaScript","funding_links":[],"categories":["Repository"],"sub_categories":["Check/Detect"],"readme":"# is-class\n\n\u003e Check if function is an ES6 [`class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).\n\n[![License](http://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/miguelmota/is-class/master/LICENSE)\n[![NPM version](https://badge.fury.io/js/is-class.svg)](http://badge.fury.io/js/is-class)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](#contributing)\n\n# Install\n\n```bash\nnpm install is-class\n```\n\n# Usage\n\n```javascript\nconst isClass = require('is-class')\n\nclass F {}\nfunction G() {}\n\nconsole.log(isClass(F)) // true\nconsole.log(isClass(G)) // false\n```\n\n# Test\n\n```bash\nnpm test\n```\n\n# License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguelmota%2Fis-class","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiguelmota%2Fis-class","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguelmota%2Fis-class/lists"}