3.0.0 • Published 3 years ago

icloud-tabs v3.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

This package is deprecated as it's no longer possible to access the tabs.


icloud-tabs

Get the iCloud tabs for all synced devices (macOS)

Install

$ npm install icloud-tabs

Usage

const icloudTabs = require('icloud-tabs');

console.log(icloudTabs.sync());
/*
[
	{
		deviceId: '7A5E9C4F-BFFA-4B40-9B4F-C61CA4CWAD3F',
		deviceName: 'Sindre Sorhus’s iPhone',
		modified: Sun May 04 3014 18:19:48 GMT+0200 (CEST),
		tabs: [
			{
				title: 'TodoMVC',
				url: 'https://todomvc.com'
			},
			{
				title: 'Sindre Sorhus',
				url: 'https://sindresorhus.com'
			}
		]
	}
]
*/

API

Tabs are fetched from ~/Library/SyncedPreferences/com.apple.Safari.plist, so it works fine offline.

icloudTabs()

Returns a promise for an array of devices.

icloudTabs.sync()

Returns an array of devices.

3.0.0

3 years ago

2.0.0

8 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

10 years ago

0.1.0

10 years ago