{"id":20780101,"url":"https://github.com/xotic750/same-value-zero-x","last_synced_at":"2025-04-30T20:08:18.505Z","repository":{"id":3572327,"uuid":"50188609","full_name":"Xotic750/same-value-zero-x","owner":"Xotic750","description":"ES6-compliant shim for SameValueZero.","archived":false,"fork":false,"pushed_at":"2023-01-04T21:54:30.000Z","size":1873,"stargazers_count":2,"open_issues_count":21,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T20:08:11.741Z","etag":null,"topics":["browser","ecmascript6","es6","nodejs","samevaluezero"],"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-22T15:13:29.000Z","updated_at":"2020-01-30T11:58:38.000Z","dependencies_parsed_at":"2023-01-11T16:32:46.234Z","dependency_job_id":null,"html_url":"https://github.com/Xotic750/same-value-zero-x","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fsame-value-zero-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fsame-value-zero-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fsame-value-zero-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fsame-value-zero-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xotic750","download_url":"https://codeload.github.com/Xotic750/same-value-zero-x/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251774896,"owners_count":21641731,"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","samevaluezero"],"created_at":"2024-11-17T13:32:13.825Z","updated_at":"2025-04-30T20:08:18.466Z","avatar_url":"https://github.com/Xotic750.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca\n  href=\"https://travis-ci.org/Xotic750/same-value-zero-x\"\n  title=\"Travis status\"\u003e\n\u003cimg\n  src=\"https://travis-ci.org/Xotic750/same-value-zero-x.svg?branch=master\"\n  alt=\"Travis status\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://david-dm.org/Xotic750/same-value-zero-x\"\n  title=\"Dependency status\"\u003e\n\u003cimg src=\"https://david-dm.org/Xotic750/same-value-zero-x/status.svg\"\n  alt=\"Dependency status\" height=\"18\"/\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://david-dm.org/Xotic750/same-value-zero-x?type=dev\"\n  title=\"devDependency status\"\u003e\n\u003cimg src=\"https://david-dm.org/Xotic750/same-value-zero-x/dev-status.svg\"\n  alt=\"devDependency status\" height=\"18\"/\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://badge.fury.io/js/same-value-zero-x\"\n  title=\"npm version\"\u003e\n\u003cimg src=\"https://badge.fury.io/js/same-value-zero-x.svg\"\n  alt=\"npm version\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://www.jsdelivr.com/package/npm/same-value-zero-x\"\n  title=\"jsDelivr hits\"\u003e\n\u003cimg src=\"https://data.jsdelivr.com/v1/package/npm/same-value-zero-x/badge?style=rounded\"\n  alt=\"jsDelivr hits\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://bettercodehub.com/results/Xotic750/same-value-zero-x\"\n  title=\"bettercodehub score\"\u003e\n\u003cimg src=\"https://bettercodehub.com/edge/badge/Xotic750/same-value-zero-x?branch=master\"\n  alt=\"bettercodehub score\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://coveralls.io/github/Xotic750/same-value-zero-x?branch=master\"\n  title=\"Coverage Status\"\u003e\n\u003cimg src=\"https://coveralls.io/repos/github/Xotic750/same-value-zero-x/badge.svg?branch=master\"\n  alt=\"Coverage Status\" height=\"18\"\u003e\n\u003c/a\u003e\n\n\u003ca name=\"module_same-value-zero-x\"\u003e\u003c/a\u003e\n\n## same-value-zero-x\n\nES6-compliant shim for SameValueZero.\n\n**See**: [7.2.10 SameValueZero(x, y)](http://www.ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\n\u003ca name=\"exp_module_same-value-zero-x--module.exports\"\u003e\u003c/a\u003e\n\n### `module.exports(x, y)` ⇒ \u003ccode\u003eboolean\u003c/code\u003e ⏏\n\nThis method determines whether two values are the same value.\nSameValueZero differs from SameValue (`Object.is`) only in its treatment\nof +0 and -0.\n\n**Kind**: Exported function  \n**Returns**: \u003ccode\u003eboolean\u003c/code\u003e - A Boolean indicating whether or not the two arguments\nare the same value.\n\n| Param | Type            | Description                  |\n| ----- | --------------- | ---------------------------- |\n| x     | \u003ccode\u003e\\*\u003c/code\u003e | The first value to compare.  |\n| y     | \u003ccode\u003e\\*\u003c/code\u003e | The second value to compare. |\n\n**Example**\n\n```js\nimport sameValueZero from 'same-value-zero-x';\n\nconsole.log(sameValueZero(0, 0)); // true\nconsole.log(sameValueZero(-0, -0)); // true\nconsole.log(sameValueZero(0, -0)); // true\nconsole.log(sameValueZero(NaN, NaN)); //true\nconsole.log(sameValueZero(Infinity, Infinity)); // true\nconsole.log(sameValueZero(-Infinity, -Infinity)); // true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxotic750%2Fsame-value-zero-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxotic750%2Fsame-value-zero-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxotic750%2Fsame-value-zero-x/lists"}