{"id":18609690,"url":"https://github.com/unlight/typescript-equals","last_synced_at":"2025-11-02T20:30:27.262Z","repository":{"id":57383797,"uuid":"287765592","full_name":"unlight/typescript-equals","owner":"unlight","description":"Rough implementation of checking of AST equality","archived":false,"fork":false,"pushed_at":"2020-08-15T14:58:36.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T03:52:51.972Z","etag":null,"topics":["ast","ast-comparison","ast-equality","comparison","equality","typescript"],"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/unlight.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":"2020-08-15T14:45:22.000Z","updated_at":"2024-05-27T16:00:20.000Z","dependencies_parsed_at":"2022-09-14T00:52:44.523Z","dependency_job_id":null,"html_url":"https://github.com/unlight/typescript-equals","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Ftypescript-equals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Ftypescript-equals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Ftypescript-equals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Ftypescript-equals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unlight","download_url":"https://codeload.github.com/unlight/typescript-equals/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239400596,"owners_count":19632049,"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":["ast","ast-comparison","ast-equality","comparison","equality","typescript"],"created_at":"2024-11-07T03:06:58.317Z","updated_at":"2025-11-02T20:30:27.216Z","avatar_url":"https://github.com/unlight.png","language":"JavaScript","readme":"# typescript-equals\n\nRough implementation of checking of AST equality:\nIgnores spaces, comments, quotes, semicolons, parenthesis.\n\n## Install\n\n```sh\nnpm i -S typescript-equals\n```\n\n## Usage\n\n```js\nimport { equals } from 'typescript-equals';\n\nconst text1 = `var a = {a:1}`;\nconst text2 = `var a = {a:1,}`;\nconst text3 = `var a = {a: 1} // comment`;\n\nequals(text1, text2); // =\u003e true\nequals(text1, text3); // =\u003e true\nequals(text2, text3); // =\u003e true\n```\n\n## API\n\n```ts\nequals(firstText: string, secondText: string): boolean;\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Ftypescript-equals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funlight%2Ftypescript-equals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Ftypescript-equals/lists"}