bookmarks-to-json-categorization

2.0.0 • Public • Published

bookmarks-to-json-categorization

Converts bookmarks from HTML Google Chrome export into a JSON file with simplistic categorization.

Designed for node.js and installable via npm install --save bookmarks-to-json-categorization -g

Usage:

With one parameter and no callback your output is sent to bookmarks.json file and console.log.

const bookmarks = require('bookmarks-to-json-categorization');
bookmarks('bookmarks.html');

You also have two options for second parameter as well as callback function.

bookmarks('bookmarks.html', options = { pipeFile: 'bookmarks.json', exportToFile: true}, callback(data){
  //  do some things here with data
});

Options are optional and defaulted to value in code example above.

bookmarks('bookmarks.html', callback(data){
  // do some things here with data
});

Readme

Keywords

Package Sidebar

Install

npm i bookmarks-to-json-categorization

Weekly Downloads

3

Version

2.0.0

License

MIT

Unpacked Size

13.5 kB

Total Files

4

Last publish

Collaborators

  • sjbavier