{"id":22882306,"url":"https://github.com/ebukaodini/ascii-map","last_synced_at":"2026-04-24T16:38:03.859Z","repository":{"id":131285444,"uuid":"499983348","full_name":"ebukaodini/ascii-map","owner":"ebukaodini","description":"A lightweight representation of the ascii table that makes it easy to convert to and fro character, decimal, hexadecimal, octal, HTML code, HTML name.","archived":false,"fork":false,"pushed_at":"2022-06-05T12:03:04.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-08-09T01:41:36.805Z","etag":null,"topics":["ascii","decimal","hexadecimal","html-code","javascript","octal"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ascii-map","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/ebukaodini.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-05T02:39:36.000Z","updated_at":"2023-03-07T04:20:15.000Z","dependencies_parsed_at":"2023-06-07T13:45:21.862Z","dependency_job_id":null,"html_url":"https://github.com/ebukaodini/ascii-map","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ebukaodini/ascii-map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebukaodini%2Fascii-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebukaodini%2Fascii-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebukaodini%2Fascii-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebukaodini%2Fascii-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebukaodini","download_url":"https://codeload.github.com/ebukaodini/ascii-map/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebukaodini%2Fascii-map/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32231223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ascii","decimal","hexadecimal","html-code","javascript","octal"],"created_at":"2024-12-13T18:16:52.403Z","updated_at":"2026-04-24T16:38:03.843Z","avatar_url":"https://github.com/ebukaodini.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ascii-map\n\nA lightweight representation of the ascii table that makes it easy to convert to and fro character, decimal, hexadecimal, octal, HTML code, HTML name.\n\n## Install\n\n```sh\nnpm install --save ascii-map\n```\n\n## Usage\n\n```js\nconst { char, dec, hex, oct, bin, htmlCode, htmlName } = require(\"ascii-map\");\n\nchar(\"A\") // { dec: \"65\", hex: \"41\", oct: \"101\", bin: \"01000001\", htmlCode: \"\u0026#65;\", htmlName: undefined, char: \"A\", desc: \"Upper Case Letter A\" }\n\ndec(\"65\").bin // 01000001\n\nhex(\"41\").oct // 101\n\noct(\"101\").char // A\n\nbin(\"01000001\").htmlCode // \u0026#65;\n\nhtmlCode(\"\u0026#65;\").desc // Upper Case Letter A\n\nhtmlName(\"\u0026dollar;\").dec // 36\n\nchar(\"AA\") // undefined\n\n```\n\n### Note\n+ Characters without `htmlName` returns `undefined`.\n+ Trying to read the properties of an undefined character throws `TypeError: Cannot read properties of undefined` error.\n\nTable was derived from https://www.lookuptables.com/text/ascii-table\n\n\n### License\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febukaodini%2Fascii-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febukaodini%2Fascii-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febukaodini%2Fascii-map/lists"}