This package has been deprecated

Author message:

Deprecated as it is no longer possible to access the tabs.

icloud-tabs

3.0.0 • Public • Published

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.

Package Sidebar

Install

npm i icloud-tabs

Weekly Downloads

1

Version

3.0.0

License

MIT

Unpacked Size

3.69 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus