Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// purpose: get your firefox bookmarks in a format that dwb will accept. prints to stdout
// usage: node firefox2dwb.js [./bookmarks.json] [ >> $HOME/.config/dwb/default/bookmarks ]
var fs = require('fs');
fs.readFile(process.argv[2], function(err, data){
var bm, ch;
bm = JSON.parse(data);
ch = bm.children[0];
console.log(child.uri + ' ' + child.title);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.