npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@anywalletkit/backup-cloud

v0.2.6

Published

Cloud backups for React Native wallets on Any Wallet Kit: seed-vault backup files in the app's hidden iCloud Drive container, and a no-password option whose key lives in iCloud Keychain (end-to-end encrypted by Apple) while the file lives in iCloud Drive

Readme

@anywalletkit/backup-cloud

npm

Cloud backups for React Native wallets built on the SDK. Each seed or key becomes one encrypted @anywalletkit/seed-vault file in the app's hidden iCloud Drive container. The user picks how it opens:

Install

npm install @anywalletkit/backup-cloud
# or: pnpm add @anywalletkit/backup-cloud  ·  yarn add @anywalletkit/backup-cloud

On npm: @anywalletkit/backup-cloud, published from the release workflow with provenance. An Expo native module (expo-modules-core is its peer, already in every Expo app): use a development build, not Expo Go.

| Option | Where the pieces live | Who can open it | |---|---|---| | iCloud Keychain (no password) | File in iCloud Drive; its 32-byte key in iCloud Keychain (end-to-end encrypted by Apple) | This app on the user's Apple devices, after Face ID / Touch ID / the device passcode. Neither the file nor the key opens anything alone. | | Password | File in iCloud Drive | Anyone with the backup password, on any phone (Argon2id, ≥10 characters) | | Both | — | Either one |

import { iCloudDrive, iCloudKeychain, saveBackup, checkBackup, listBackups, restoreBackup } from '@anywalletkit/backup-cloud'

const store = iCloudDrive({ container: 'iCloud.com.example.wallet' })
const keys = iCloudKeychain()

await saveBackup({ store, keyVault: keys, password, secret: await secrets.get(source.id), meta: { type: source.type, fingerprint: source.fingerprint, label: source.label } })
await checkBackup(store, source)                 // { present, createdAt, protectors } — no prompt, nothing opened
const opened = await restoreBackup({ store, name, keyVault: keys, expect: source })  // or { password }
await secrets.set(id, opened.text()); opened.dispose()

Protection on the device.

  • The key: WhenUnlocked. It is never readable while the phone is locked, after-first-unlock included. Keys written by 0.1.0 are raised to this class on their next read.
  • Reading it: the native module asks for the device owner (Face ID / Touch ID / passcode) before handing the key out, so app code can't read it silently. One confirmation covers 30 s, so a multi-wallet backup or restore asks once. Creating a new key asks for nothing.
  • The file: written with complete file protection.
  • No strict mode: a synced keychain item can't carry a biometric ACL, so the no-password option can't honour strict biometrics-only mode. Offer the password option to users who want that.

saveBackup reads the file back and compares it before reporting success. restoreBackup refuses another wallet's backup when given expect. A device without the synced key gets key-missing, and can then use the password.

Setup (Expo)

["@anywalletkit/backup-cloud", { "iCloudContainer": "iCloud.<your bundle id>" }]

The plugin adds the iCloud Documents entitlements for your container. Every app has its own container, because a shared one would let apps read each other's backups.

With automatic signing, Xcode registers the container on your team. xcodebuild -allowProvisioningUpdates needs an Apple ID in Xcode › Settings › Accounts.

Files go to <container>/WalletBackups, not Documents/, so they stay out of the Files app. iCloud Keychain needs no entitlement.

Status

Supported today: iOS (iCloud Drive and iCloud Keychain).

Next: Android, with Google Drive appDataFolder (needs your OAuth client) and Block Store.

On Android, status() reports unavailable.