{"id":20780252,"url":"https://github.com/xotic750/require-object-coercible-x","last_synced_at":"2025-04-30T20:33:56.776Z","repository":{"id":3541419,"uuid":"50025645","full_name":"Xotic750/require-object-coercible-x","owner":"Xotic750","description":"ES6-compliant shim for RequireObjectCoercible.","archived":false,"fork":false,"pushed_at":"2023-01-04T21:54:29.000Z","size":3279,"stargazers_count":1,"open_issues_count":21,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T20:31:47.256Z","etag":null,"topics":["browser","ecmascript6","es6","nodejs"],"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/Xotic750.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":"2016-01-20T11:27:49.000Z","updated_at":"2020-01-30T12:03:42.000Z","dependencies_parsed_at":"2023-01-13T12:35:39.403Z","dependency_job_id":null,"html_url":"https://github.com/Xotic750/require-object-coercible-x","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Frequire-object-coercible-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Frequire-object-coercible-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Frequire-object-coercible-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Frequire-object-coercible-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xotic750","download_url":"https://codeload.github.com/Xotic750/require-object-coercible-x/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251777794,"owners_count":21642227,"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":["browser","ecmascript6","es6","nodejs"],"created_at":"2024-11-17T13:33:02.277Z","updated_at":"2025-04-30T20:33:56.744Z","avatar_url":"https://github.com/Xotic750.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca\n  href=\"https://travis-ci.org/Xotic750/require-object-coercible-x\"\n  title=\"Travis status\"\u003e\n\u003cimg\n  src=\"https://travis-ci.org/Xotic750/require-object-coercible-x.svg?branch=master\"\n  alt=\"Travis status\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://david-dm.org/Xotic750/require-object-coercible-x\"\n  title=\"Dependency status\"\u003e\n\u003cimg src=\"https://david-dm.org/Xotic750/require-object-coercible-x/status.svg\"\n  alt=\"Dependency status\" height=\"18\"/\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://david-dm.org/Xotic750/require-object-coercible-x?type=dev\"\n  title=\"devDependency status\"\u003e\n\u003cimg src=\"https://david-dm.org/Xotic750/require-object-coercible-x/dev-status.svg\"\n  alt=\"devDependency status\" height=\"18\"/\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://badge.fury.io/js/require-object-coercible-x\"\n  title=\"npm version\"\u003e\n\u003cimg src=\"https://badge.fury.io/js/require-object-coercible-x.svg\"\n  alt=\"npm version\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://www.jsdelivr.com/package/npm/require-object-coercible-x\"\n  title=\"jsDelivr hits\"\u003e\n\u003cimg src=\"https://data.jsdelivr.com/v1/package/npm/require-object-coercible-x/badge?style=rounded\"\n  alt=\"jsDelivr hits\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://bettercodehub.com/results/Xotic750/require-object-coercible-x\"\n  title=\"bettercodehub score\"\u003e\n\u003cimg src=\"https://bettercodehub.com/edge/badge/Xotic750/require-object-coercible-x?branch=master\"\n  alt=\"bettercodehub score\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://coveralls.io/github/Xotic750/require-object-coercible-x?branch=master\"\n  title=\"Coverage Status\"\u003e\n\u003cimg src=\"https://coveralls.io/repos/github/Xotic750/require-object-coercible-x/badge.svg?branch=master\"\n  alt=\"Coverage Status\" height=\"18\"\u003e\n\u003c/a\u003e\n\n\u003ca name=\"module_require-object-coercible-x\"\u003e\u003c/a\u003e\n\n## require-object-coercible-x\n\nES6-compliant shim for RequireObjectCoercible.\n\n**See**: [7.2.1 RequireObjectCoercible ( argument )](http://www.ecma-international.org/ecma-262/6.0/#sec-requireobjectcoercible)\n\n\u003ca name=\"exp_module_require-object-coercible-x--module.exports\"\u003e\u003c/a\u003e\n\n### `module.exports(value)` ⇒ \u003ccode\u003estring\u003c/code\u003e ⏏\n\nThe abstract operation RequireObjectCoercible throws an error if argument\nis a value that cannot be converted to an Object using ToObject.\n\n**Kind**: Exported function  \n**Returns**: \u003ccode\u003estring\u003c/code\u003e - The `value`.  \n**Throws**:\n\n- \u003ccode\u003eTypeError\u003c/code\u003e If `value` is a `null` or `undefined`.\n\n| Param | Type            | Description           |\n| ----- | --------------- | --------------------- |\n| value | \u003ccode\u003e\\*\u003c/code\u003e | The `value` to check. |\n\n**Example**\n\n```js\nimport RequireObjectCoercible from 'require-object-coercible-x';\n\nRequireObjectCoercible(); // TypeError\nRequireObjectCoercible(null); // TypeError\nconsole.log(RequireObjectCoercible('abc')); // 'abc'\nconsole.log(RequireObjectCoercible(true)); // true\nconsole.log(RequireObjectCoercible(Symbol('foo'))); // Symbol('foo')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxotic750%2Frequire-object-coercible-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxotic750%2Frequire-object-coercible-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxotic750%2Frequire-object-coercible-x/lists"}