Get all firefox profile details
npm i firefox-profiles
const firefoxProfiles = require('firefox-profiles');
// For mac
const profiles = firefoxProfiles('darwin');
console.log(profiles);
// Output
// [
// {
// Name: 'ffire17.xx.xx-x.xx.xx',
// IsRelative: '1',
// Path: 'Profiles/y1iixeh7.ffire17.xx.xx-x.xx.xx'
// }
// ]
// For Linux
const profiles = firefoxProfiles('linux');
// For windows
const profiles = firefoxProfiles('win32');
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
Inspired by work of firefox-profile-js by Saad Tazi