bullet.js

A node.js pushbullet api wrapper.

Usage no npm install needed!

<script type="module">
  import bulletJs from 'https://cdn.skypack.dev/bullet.js';
</script>

README

bullet.js

This is a simple and complete port of the pushbullet api in node.js.

Installation

npm install bullet.js

Get started

Authentication with an api key

bullet.setToken('your token here');

Get pushes

bullet.getPushes(function (err, data) {
  if (err) throw err;
  console.log(data);
});

Get user info

bullet.getUser(function (err, data) {
  if (err) throw err;
  console.log(data);
});