{"id":15369097,"url":"https://github.com/developit/object-shape","last_synced_at":"2025-06-26T15:32:32.843Z","repository":{"id":57312756,"uuid":"80960092","full_name":"developit/object-shape","owner":"developit","description":"Get a description of a JS object's shape.","archived":false,"fork":false,"pushed_at":"2017-05-09T14:58:57.000Z","size":3,"stargazers_count":25,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-20T20:01:18.123Z","etag":null,"topics":["javascript","object","performance","shape","v8"],"latest_commit_sha":null,"homepage":"","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/developit.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-02-05T01:13:39.000Z","updated_at":"2023-09-25T07:41:05.000Z","dependencies_parsed_at":"2022-09-20T23:11:55.103Z","dependency_job_id":null,"html_url":"https://github.com/developit/object-shape","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/developit/object-shape","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fobject-shape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fobject-shape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fobject-shape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fobject-shape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developit","download_url":"https://codeload.github.com/developit/object-shape/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fobject-shape/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262094439,"owners_count":23257965,"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":["javascript","object","performance","shape","v8"],"created_at":"2024-10-01T13:34:09.092Z","updated_at":"2025-06-26T15:32:32.815Z","avatar_url":"https://github.com/developit.png","language":"JavaScript","readme":"# `object-shape`\n\n[![NPM](https://img.shields.io/npm/v/object-shape.svg)](https://www.npmjs.com/package/object-shape)\n\nReturns a String description of a given object's shape.\n\n```js\nimport shape from 'object-shape';\n\nshape('hello')        // string\nshape(2)              // number\nshape(undefined)      // undefined\nshape(null)           // [Null]\nshape({ a:1, b:2 })   // [Object a,b]\nshape(/reg/i)         // [RegExp]\nshape(new Foo())      // [Foo a,b,c]\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopit%2Fobject-shape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelopit%2Fobject-shape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopit%2Fobject-shape/lists"}