{"id":19346419,"url":"https://github.com/canjs/can-type","last_synced_at":"2025-04-23T04:37:03.070Z","repository":{"id":57193501,"uuid":"188257871","full_name":"canjs/can-type","owner":"canjs","description":"Create TypeObjects for use in defining ViewModels and Models.","archived":false,"fork":false,"pushed_at":"2020-09-23T17:56:12.000Z","size":110,"stargazers_count":4,"open_issues_count":4,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-15T02:46:37.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://canjs.com/doc/can-type.html","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/canjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-23T15:11:05.000Z","updated_at":"2021-06-03T05:12:23.000Z","dependencies_parsed_at":"2022-09-15T22:31:12.317Z","dependency_job_id":null,"html_url":"https://github.com/canjs/can-type","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canjs%2Fcan-type","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canjs%2Fcan-type/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canjs%2Fcan-type/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canjs%2Fcan-type/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/canjs","download_url":"https://codeload.github.com/canjs/can-type/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250372581,"owners_count":21419719,"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-11-10T04:10:08.760Z","updated_at":"2025-04-23T04:37:02.735Z","avatar_url":"https://github.com/canjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# can-type\n\n[![Build Status](https://travis-ci.org/DoneJS/can-type.svg?branch=master)](https://travis-ci.org/DoneJS/can-type) [![Greenkeeper badge](https://badges.greenkeeper.io/canjs/can-type.svg)](https://greenkeeper.io/)\n\nType definitions\n\n## Usage\n\n### ES6 use\n\nWith StealJS, you can import this module directly in a template that is autorendered:\n\n```js\nimport plugin from 'can-type';\n```\n\n### CommonJS use\n\nUse `require` to load `can-type` and everything else\nneeded to create a template that uses `can-type`:\n\n```js\nvar plugin = require(\"can-type\");\n```\n\n### Standalone use\n\nLoad the `global` version of the plugin:\n\n```html\n\u003cscript src='./node_modules/can-type/dist/global/can-type.js'\u003e\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanjs%2Fcan-type","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcanjs%2Fcan-type","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanjs%2Fcan-type/lists"}