{"id":21971303,"url":"https://github.com/iamakulov/unescape-js","last_synced_at":"2025-10-25T14:10:16.866Z","repository":{"id":47467782,"uuid":"56328772","full_name":"iamakulov/unescape-js","owner":"iamakulov","description":"Unescape special characters encoded by JavaScript escape sequences","archived":false,"fork":false,"pushed_at":"2023-03-01T11:05:37.000Z","size":307,"stargazers_count":40,"open_issues_count":5,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T04:05:59.754Z","etag":null,"topics":["escape-sequences","javascript","javascript-escape-sequences","string","unescape-js"],"latest_commit_sha":null,"homepage":null,"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/iamakulov.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-15T15:04:54.000Z","updated_at":"2024-07-31T12:16:11.000Z","dependencies_parsed_at":"2024-06-18T13:57:20.152Z","dependency_job_id":"b7e97c77-23c9-49ba-8213-cd6080778408","html_url":"https://github.com/iamakulov/unescape-js","commit_stats":{"total_commits":57,"total_committers":7,"mean_commits":8.142857142857142,"dds":0.5263157894736843,"last_synced_commit":"8593094fc37f70232e000d1b8b982b32a99d8d5d"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamakulov%2Funescape-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamakulov%2Funescape-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamakulov%2Funescape-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamakulov%2Funescape-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamakulov","download_url":"https://codeload.github.com/iamakulov/unescape-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595335,"owners_count":20963943,"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":["escape-sequences","javascript","javascript-escape-sequences","string","unescape-js"],"created_at":"2024-11-29T14:50:00.976Z","updated_at":"2025-10-25T14:10:16.814Z","avatar_url":"https://github.com/iamakulov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unescape-js\n\n[![npm](https://img.shields.io/npm/v/unescape-js.svg?maxAge=2592000\u0026style=flat-square)](https://www.npmjs.com/package/unescape-js) [![Travis branch](https://img.shields.io/travis/iamakulov/unescape-js/master.svg?maxAge=2592000\u0026style=flat-square)](https://travis-ci.org/iamakulov/unescape-js) [![Coveralls](https://img.shields.io/coveralls/iamakulov/unescape-js.svg?maxAge=2592000\u0026style=flat-square)](https://coveralls.io/github/iamakulov/unescape-js)\n\n\u003e Unescape special characters encoded with [JavaScript escape sequences](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types#Using_special_characters_in_strings)\n\n## Install\n\n```\nnpm install --save unescape-js\n```\n    \n## Usage\n\n`unescape-js` supports:\n* all JavaScript escape sequences described [on the according MDN page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types#Using_special_characters_in_strings) including ES2015 Unicode code point escapes (`\\u{XXXXX}`)\n*  Python-style escape sequences (`\\UXXXXXXXX`).\n\n```js\nvar unescapeJs = require('unescape-js');\n\nconsole.log(unescapeJs('Hello,\\\\nworld!'));\n// Hello,\n// world!\n\nconsole.log(unescapeJs('Copyright \\\\u00A9'));\n// Copyright ©\n\nconsole.log(unescapeJs('\\\\u{1F604}'));\n// 😄\n```\n\n## License\n\nMIT © [Ivan Akulov](http://iamakulov.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamakulov%2Funescape-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamakulov%2Funescape-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamakulov%2Funescape-js/lists"}