{"id":22056760,"url":"https://github.com/rocktimsaikia/node-encoder","last_synced_at":"2025-03-23T16:21:07.624Z","repository":{"id":65460518,"uuid":"290204707","full_name":"rocktimsaikia/node-encoder","owner":"rocktimsaikia","description":"A zero dependency base64 encoder and decoder for Node.js","archived":false,"fork":false,"pushed_at":"2021-03-12T13:12:52.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-18T23:49:29.058Z","etag":null,"topics":["base64encoder","decoder","encoder","encoder-decoder","node-encoder"],"latest_commit_sha":null,"homepage":"https://npmjs.com/node-encoder","language":"JavaScript","has_issues":false,"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/rocktimsaikia.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":"2020-08-25T12:08:11.000Z","updated_at":"2023-11-27T01:04:27.000Z","dependencies_parsed_at":"2023-01-24T14:45:24.321Z","dependency_job_id":null,"html_url":"https://github.com/rocktimsaikia/node-encoder","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fnode-encoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fnode-encoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fnode-encoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fnode-encoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rocktimsaikia","download_url":"https://codeload.github.com/rocktimsaikia/node-encoder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245128733,"owners_count":20565326,"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":["base64encoder","decoder","encoder","encoder-decoder","node-encoder"],"created_at":"2024-11-30T16:14:47.749Z","updated_at":"2025-03-23T16:21:07.588Z","avatar_url":"https://github.com/rocktimsaikia.png","language":"JavaScript","readme":"# node-encoder [![Actions Status](https://github.com/rocktimsaikia/node-encoder/workflows/build/badge.svg)](https://github.com/rocktimsaikia/node-encoder/actions)\n\n\u003e A zero dependency :tada: base64 encoder and decoder for Node.js. \n\n## Installation\n```bash\nnpm install node-encoder\n```\n\n## Highlights\n- Zero dependencies 🎉\n- Lightweight (`~4kb`) 🚀\n\n## Usage\n\n```js\nconst {encode, decode} = require('node-encoder')\n\nencode('hello world!') //=\u003e aGVsbG8gd29ybGQh\n\ndecode('aGVsbG8gd29ybGQh') //=\u003e hello world!\n```\n\n## API\n\n### `encode(input)`\n\nTakes a single `utf-8/ascii` string input as argument and retuns it's `base64` encoded string version.\n\n### `decode(input)`\n\nTakes a single `base64` string input as argument and retuns it's `utf-8` decoded string version.\n\n## License\nMIT 2021 \u0026copy; [Rocktim Saikia](https://rocktimsaikia.now.sh)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocktimsaikia%2Fnode-encoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocktimsaikia%2Fnode-encoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocktimsaikia%2Fnode-encoder/lists"}