Skip to content

vutran/browser-bookmarks

Repository files navigation

browser-bookmarks

Travis Coveralls branch license

Retrieve bookmarks from different browsers.

Install

$ npm install --save browser-bookmarks

Usage

const browserBookmarks = require('browser-bookmarks');

// retrieve bookmarks from Chrome (returns a Promise)
browserBookmarks.getChrome().then(bookmarks => {
  console.log(bookmarks);
});

API

getChrome()

Returns a Promise with an array of Bookmarks objects.

Bookmarks

title

The bookmark title.

Type: String

url

The bookmark URL.

Type: String

icon

The bookmark icon.

Type: String

folder

The folder in which the bookmark item belongs.

Type: String

License

MIT © Vu Tran