A Node.js module for the PushBullet REST API. Current stable version is 3.0.0. Originally supported callbacks and promises; v3 migrated to async/await only. It provides methods for pushing notes, links, files, managing devices, and accessing push history. Lightweight wrapper with minimal dependencies.
npm install pushbulletNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows ESM import, instance creation with environment variable, fetching user info and devices, and pushing a note.
Migrate to async/await or use util.callbackify() to wrap async functions.
Use async/await instead of callbacks.
Use an explicit object `{ email: 'user@example.com' }` for clarity.Always validate the API key exists and is a non-empty string.
Use `await pusher.devices()` and then `await response.json()` if raw response needed, or rely on built-in parsing.
Use `import PushBullet from 'pushbullet'`.
Create an instance first: `const pb = new PushBullet(apiKey); await pb.devices();`
Set `process.env.PUSHBULLET_API_KEY` with a valid key from Pushbullet settings.
No dependency data recorded yet.