Get firefox user directory crossplatform
npm i firefox-user-directory
const firefoxUserDirectory = require('firefox-user-directory');
const path = firefoxUserDirectory('darwin');
console.log(path);
// Output
// /Users/arshad/Library/Application Support/Firefox
Interested in contributing to this project? You can log any issues or suggestion related to this library here
Read our contributing guide on getting started with contributing to the codebase