UNPKG

convert-vapid-public-key

Version:

[![GitHub Actions status](https://github.com/screendriver/convert-vapid-public-key/workflows/CI/badge.svg)](https://github.com/screendriver/convert-vapid-public-key/actions) [![codecov](https://codecov.io/gh/screendriver/convert-vapid-public-key/branch/ma

9 lines 309 B
import { toUint8Array } from "./toUint8Array.js"; /** * Converts the given VAPID public key to an Uint8Array. * @param base64String your Base64 VAPID public key */ export default function urlBase64ToUint8Array(base64String) { return toUint8Array(base64String, atob); } //# sourceMappingURL=index.js.map