{"library":"btoa-lite","type":"library","category":null,"description":"btoa-lite provides a lightweight, isomorphic `btoa` (Base64 encoding) implementation for both Node.js and browser environments. Its primary differentiator is its approach to environment-specific code loading, utilizing `package.json`'s `main` and `browser` fields to avoid bundling Browserify's potentially large `Buffer` shim into browser builds. This ensures minimal bundle sizes for browser targets while providing a functional Base64 encoder in Node.js using its native `Buffer` API. As of version 1.0.0, it is a stable, mature package, likely in a maintenance state given its last publish in 2016, with a focus on simplicity over frequent feature updates. It aims to be the smallest and simplest means for `btoa` functionality across environments.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","btoa","base64","isomorphic","browser","node","shared"],"last_verified":"Wed May 27","install":[{"cmd":"npm install btoa-lite","imports":["const btoa = require('btoa-lite');","import btoa from 'btoa-lite';","// No official type definitions for 'btoa-lite'."]},{"cmd":"yarn add btoa-lite","imports":[]},{"cmd":"pnpm add btoa-lite","imports":[]}],"homepage":null,"github":"https://github.com/hughsk/btoa-lite","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/btoa-lite","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/btoa-lite/compatibility"}}