项目作者: vutran

项目描述 :
Retrieve bookmarks from different browsers.
高级语言: JavaScript
项目地址: git://github.com/vutran/browser-bookmarks.git
创建时间: 2016-09-08T16:26:31Z
项目社区:https://github.com/vutran/browser-bookmarks

开源协议:MIT License

下载


browser-bookmarks

Travis Coveralls branch license

Retrieve bookmarks from different browsers.

Install

  1. $ npm install --save browser-bookmarks

Usage

  1. const browserBookmarks = require('browser-bookmarks');
  2. // retrieve bookmarks from Chrome (returns a Promise)
  3. browserBookmarks.getChrome().then(bookmarks => {
  4. console.log(bookmarks);
  5. });

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