Skip to content

arshadkazmi42/firefox-profiles

Repository files navigation

firefox-profiles

Build NPM Version NPM Downloads Github Repo Size LICENSE Contributors Commit

Get all firefox profile details

Install

npm i firefox-profiles

Usage

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');

Contributing

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

Credits

Inspired by work of firefox-profile-js by Saad Tazi