{"id":19224401,"url":"https://github.com/snowplow-archive/base64-js","last_synced_at":"2025-04-21T00:30:39.060Z","repository":{"id":26515455,"uuid":"29968253","full_name":"snowplow-archive/base64-js","owner":"snowplow-archive","description":"Node.js module to handle base64 encoding arbitrary strings","archived":true,"fork":false,"pushed_at":"2015-02-06T16:34:38.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-23T10:15:46.973Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://snowplowanalytics.com","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/snowplow-archive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-2.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-28T13:16:32.000Z","updated_at":"2024-08-13T11:07:56.000Z","dependencies_parsed_at":"2022-08-24T15:03:40.992Z","dependency_job_id":null,"html_url":"https://github.com/snowplow-archive/base64-js","commit_stats":null,"previous_names":["snowplow-archive/base64-js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowplow-archive%2Fbase64-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowplow-archive%2Fbase64-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowplow-archive%2Fbase64-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowplow-archive%2Fbase64-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snowplow-archive","download_url":"https://codeload.github.com/snowplow-archive/base64-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249979545,"owners_count":21355251,"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":[],"created_at":"2024-11-09T15:11:36.055Z","updated_at":"2025-04-21T00:30:39.047Z","avatar_url":"https://github.com/snowplow-archive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base64-js\n\n[ ![Build Status] [travis-image] ] [travis]\n\n## Overview\n\nNode.js module to handle base64 encoding arbitrary strings. For use in the [Snowplow JavaScript Tracker][sjt] core.\n\n## Usage:\n\n```javascript\nvar b64 = require('snowplow-base64');\nvar encoded = b64.encodeBase64(\"(some string)\");\n\n// Uses URL-safe characters: \"_\" rather than \"/\" and \"-\" rather than \"+\"\nvar urlSafeEncoded = b64.encodeBase64UrlSafe(\"(some string)\");\n```\n\n## Contributing quickstart\n\nAssuming git, [Vagrant] [vagrant-install] and [VirtualBox] [virtualbox-install] installed:\n\n```\n host$ git clone https://github.com/snowplow/base64-js.git\n host$ cd base64-js\n host$ vagrant up \u0026\u0026 vagrant ssh\nguest$ sudo npm install\n```\n\n## License\n\nLicensed under the **[Apache License, Version 2.0] [license]** (the \"License\");\nyou may not use this software except in compliance with the License.\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n[sjt]: https://github.com/snowplow/snowplow-javascript-tracker\n[license]: http://www.apache.org/licenses/LICENSE-2.0\n[travis-image]: https://travis-ci.org/snowplow/base64-js.png?branch=master\n[travis]: http://travis-ci.org/snowplow/base64-js\n[vagrant-install]: http://docs.vagrantup.com/v2/installation/index.html\n[virtualbox-install]: https://www.virtualbox.org/wiki/Downloads\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowplow-archive%2Fbase64-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnowplow-archive%2Fbase64-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowplow-archive%2Fbase64-js/lists"}