Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@egoistdeveloper/operating-system-logos

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@egoistdeveloper/operating-system-logos - npm Package Compare versions

Comparing version 1.1.2 to 1.1.7

src/128x128/BLB.png

2

package.json
{
"name": "@egoistdeveloper/operating-system-logos",
"version": "1.1.2",
"version": "1.1.7",
"description": "Operating System Logos in Different Sizes",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -20,3 +20,3 @@ # operating-system-logos

## List of operating system names and custom short codes
Image files are named according to these titles (*see the **[reference](https://github.com/matomo-org/device-detector/blob/c136bf9147bd8f33746b1915331fba133d076ed5/Parser/OperatingSystem.php#L30)***). Current and frequently used logos defining operating systems were selected. Therefore, the version or naming differences were ignored when listing.
Image files are named according to these titles (*see the **[reference](https://github.com/matomo-org/device-detector/blob/228eef9a40f611a6661f1c93ee64c2c687dd3f11/Parser/OperatingSystem.php#L40)***). Current and frequently used logos defining operating systems were selected. Therefore, the version or naming differences were ignored when listing.

@@ -30,2 +30,6 @@ ❌ unavailable\

<!-- TABLE_START -->
⚠️ Total: 104, Available: 70, Unavailable: 34
| Preview | Code | Name | Status |

@@ -36,3 +40,3 @@ | ------- | ---- | ---- | ------ |

| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/AMG.png "AMG (48x48)") | AMG | AmigaOS | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/ATV.png "ATV (48x48)") | ATV | Apple TV | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/ATV.png "ATV (48x48)") | ATV | tvOS | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/ARL.png "ARL (48x48)") | ARL | Arch Linux | ✅ |

@@ -42,5 +46,6 @@ | ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/BTR.png "BTR (48x48)") | BTR | BackTrack | ✅ |

| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/BEO.png "BEO (48x48)") | BEO | BeOS | ✅ |
| ............ | BLB | BlackBerry OS | ❌ |
| ............ | QNX | BlackBerry Tablet OS | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/BLB.png "BLB (48x48)") | BLB | BlackBerry OS | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/QNX.png "QNX (48x48)") | QNX | BlackBerry Tablet OS | ✅ |
| ............ | BMP | Brew | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/CAI.png "CAI (48x48)") | CAI | Caixa Mágica | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/CES.png "CES (48x48)") | CES | CentOS | ✅ |

@@ -50,21 +55,33 @@ | ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/COS.png "COS (48x48)") | COS | Chrome OS | ✅ |

| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/DEB.png "DEB (48x48)") | DEB | Debian | ✅ |
| ............ | DFB | DragonFly | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/DEE.png "DEE (48x48)") | DEE | Deepin | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/DFB.png "DFB (48x48)") | DFB | DragonFly | ✅ |
| ............ | DVK | DVKBuntu | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/FED.png "FED (48x48)") | FED | Fedora | ✅ |
| ............ | FEN | Fenix | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/FOS.png "FOS (48x48)") | FOS | Firefox OS | ✅ |
| ............ | FIR | Fire OS | ❌ |
| ............ | FRE | Freebox | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/BSD.png "BSD (48x48)") | BSD | FreeBSD | ✅ |
| ............ | FYD | FydeOS | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/GNT.png "GNT (48x48)") | GNT | Gentoo | ✅ |
| ............ | GRI | GridOS | ❌ |
| ............ | GTV | Google TV | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/HPX.png "HPX (48x48)") | HPX | HP-UX | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/HAI.png "HAI (48x48)") | HAI | Haiku OS | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/IPA.png "IPA (48x48)") | IPA | iPadOS | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/HAR.png "HAR (48x48)") | HAR | HarmonyOS | ✅ |
| ............ | HAS | HasCodingOS | ❌ |
| ............ | IRI | IRIX | ❌ |
| ............ | INF | Inferno | ❌ |
| ............ | JME | Java ME | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/KOS.png "KOS (48x48)") | KOS | KaiOS | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/KNO.png "KNO (48x48)") | KNO | Knoppix | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/KBT.png "KBT (48x48)") | KBT | Kubuntu | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/LIN.png "LIN (48x48)") | LIN | Linux | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/LIN.png "LIN (48x48)") | LIN | GNU/Linux | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/LBT.png "LBT (48x48)") | LBT | Lubuntu | ✅ |
| ............ | LOS | Lumin OS | ❌ |
| ............ | VLN | VectorLinux | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/MAC.png "MAC (48x48)") | MAC | Mac | ✅ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/MAE.png "MAE (48x48)") | MAE | Maemo | ✅ |
| ............ | MAG | Mageia | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/MDR.png "MDR (48x48)") | MDR | Mandriva | ✅ |

@@ -78,2 +95,3 @@ | ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/SMG.png "SMG (48x48)") | SMG | MeeGo | ✅ |

| ............ | MTK | MTK / Nucleus | ❌ |
| ............ | MRE | MRE | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/WII.png "WII (48x48)") | WII | Nintendo | ✅ |

@@ -84,2 +102,5 @@ | ............ | NDS | Nintendo Mobile | ❌ |

| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/OBS.png "OBS (48x48)") | OBS | OpenBSD | ✅ |
| ............ | OWR | OpenWrt | ❌ |
| ............ | ORD | Ordissimo | ❌ |
| ............ | PCL | PCLinuxOS | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/PSP.png "PSP (48x48)") | PSP | PlayStation Portable | ✅ |

@@ -89,3 +110,6 @@ | ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/PS3.png "PS3 (48x48)") | PS3 | PlayStation | ✅ |

| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/ROS.png "ROS (48x48)") | ROS | RISC OS | ✅ |
| ............ | ROK | Roku OS | ❌ |
| ............ | RSO | Rosa | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/REM.png "REM (48x48)") | REM | Remix OS | ✅ |
| ............ | REX | REX | ❌ |
| ............ | RZD | RazoDroiD | ❌ |

@@ -95,2 +119,3 @@ | ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/SAB.png "SAB (48x48)") | SAB | Sabayon | ✅ |

| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/SAF.png "SAF (48x48)") | SAF | Sailfish OS | ✅ |
| ............ | SEE | SeewoOS | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/SLW.png "SLW (48x48)") | SLW | Slackware | ✅ |

@@ -106,4 +131,7 @@ | ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/SOS.png "SOS (48x48)") | SOS | Solaris | ✅ |

| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/TIZ.png "TIZ (48x48)") | TIZ | Tizen | ✅ |
| ............ | TOS | TmaxOS | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/UBT.png "UBT (48x48)") | UBT | Ubuntu | ✅ |
| ............ | WAS | watchOS | ❌ |
| ............ | WTV | WebTV | ❌ |
| ............ | WHS | Whale OS | ❌ |
| ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/WIN.png "WIN (48x48)") | WIN | Windows | ✅ |

@@ -122,5 +150,7 @@ | ![](https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master/src/48x48/WCE.png "WCE (48x48)") | WCE | Windows CE | ✅ |

<!-- TABLE_END -->
## Legal
All logos and trademarks are the property of their respective owners!
If you represent the entity that has the rights over a logo and you want, for whatever reason, that logo removed from this project, **[open an issue](https://github.com/EgoistDeveloper/operating-system-logos/issues/new)** requesting its takedown and we will remove it as soon as possible.

@@ -6,69 +6,84 @@ /**

const http = require('http');
const fs = require('fs');
const hostname = '127.0.0.1',
port = 2021,
sizeList = [16, 24, 32, 48, 64, 128],
const sizeList = [16, 24, 32, 48, 64, 128],
baseRepoAddress = 'https://raw.githubusercontent.com/EgoistDeveloper/operating-system-logos/master',
previewSize = '48x48';
const server = http.createServer((req, res) => {
res.statusCode = 200;
res.setHeader('Content-Type', 'text/plain; charset=utf-8');
function updateList(newData) {
fs.readFile('./../README.md', 'utf8', (err, data) => {
if (err) {
console.error(err);
try {
let osList = JSON.parse(fs.readFileSync('list.json')),
tableMarkdown = `| Preview | Code | Name | Status |\n| ------- | ---- | ---- | ------ |\n`,
availableItems = 0;
return;
}
osList = Object.entries(osList);
if (data) {
const match = data.match('<!-- TABLE_START -->((.|\n|\s|\r)*)<!-- TABLE_END -->');;
osList.forEach(osItem => {
const osCode = osItem[0],
osName = osItem[1];
let logoStackCount = 0,
missingSizes = [];
if (match && match[1]) {
data = data.replace(match[1], `\n\n${newData}\n`);
// count exists and missing images for target logo
sizeList.forEach(size => {
let logoPath = `${size}x${size}/${osCode}.png`;
new Promise(function (resolve, reject) {
fs.writeFile('./../README.md', data, 'utf8', function (err) {
if (err) reject(err);
else resolve(data);
});
});
}
}
});
}
if (fs.existsSync(logoPath)) {
logoStackCount += 1;
} else {
missingSizes.push(size);
}
});
//#region markdown print
try {
let osList = JSON.parse(fs.readFileSync('list.json')),
tableMarkdown = `| Preview | Code | Name | Status |\n| ------- | ---- | ---- | ------ |\n`,
availableItems = 0;
if (logoStackCount == 0) {
tableMarkdown += `| ............ | ${osCode} | ${osName} | ❌ |\n`;
osList = Object.entries(osList);
console.log(`❌ ${osName} (${osCode}): all logos not found.\n--------------------------`);
} else if (logoStackCount == sizeList.length) {
tableMarkdown += `| ![](${baseRepoAddress}/src/${previewSize}/${osCode}.png "${osCode} (${previewSize})") | ${osCode} | ${osName} | ✅ |\n`;
osList.forEach(osItem => {
const osCode = osItem[0],
osName = osItem[1];
availableItems += 1;
} else if (logoStackCount > 0 && logoStackCount < sizeList.length) {
tableMarkdown += `| ............ | ${osCode} | ${osName} | ⭕ |\n`;
let logoStackCount = 0,
missingSizes = [];
console.log(`⭕ ${osName} (${osCode}): ${sizeList.length - logoStackCount} logos missing (sizes: ${missingSizes.join(', ')})\n--------------------------`);
// count exists and missing images for target logo
sizeList.forEach(size => {
let logoPath = `${size}x${size}/${osCode}.png`;
if (fs.existsSync(logoPath)) {
logoStackCount += 1;
} else {
missingSizes.push(size);
}
//#endregion
});
console.log(`\nTotal: ${osList.length}, available: ${availableItems}, unavailable: ${osList.length - availableItems}\n\n`);
res.end(tableMarkdown);
} catch (err) {
res.end(err);
}
});
//#region markdown print
server.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});
if (logoStackCount == 0) {
tableMarkdown += `| ............ | ${osCode} | ${osName} | ❌ |\n`;
// console.log(`❌ ${osName} (${osCode}): all logos not found.\n--------------------------`);
} else if (logoStackCount == sizeList.length) {
tableMarkdown += `| ![](${baseRepoAddress}/src/${previewSize}/${osCode}.png "${osCode} (${previewSize})") | ${osCode} | ${osName} | ✅ |\n`;
availableItems += 1;
} else if (logoStackCount > 0 && logoStackCount < sizeList.length) {
tableMarkdown += `| ............ | ${osCode} | ${osName} | ⭕ |\n`;
// console.log(`⭕ ${osName} (${osCode}): ${sizeList.length - logoStackCount} logos missing (sizes: ${missingSizes.join(', ')})\n--------------------------`);
}
//#endregion
});
const totalStatistics = `⚠️ Total: ${osList.length}, Available: ${availableItems}, Unavailable: ${osList.length - availableItems}`;
// console.log(`\n${totalStatistics}\n\n`);
updateList(`${totalStatistics}\n\n${tableMarkdown}`);
} catch (err) {
console.log(err.toString());
}

@@ -5,3 +5,3 @@ {

"AMG": "AmigaOS",
"ATV": "Apple TV",
"ATV": "tvOS",
"ARL": "Arch Linux",

@@ -14,2 +14,3 @@ "BTR": "BackTrack",

"BMP": "Brew",
"CAI": "Caixa Mágica",
"CES": "CentOS",

@@ -19,21 +20,33 @@ "COS": "Chrome OS",

"DEB": "Debian",
"DEE": "Deepin",
"DFB": "DragonFly",
"DVK": "DVKBuntu",
"FED": "Fedora",
"FEN": "Fenix",
"FOS": "Firefox OS",
"FIR": "Fire OS",
"FRE": "Freebox",
"BSD": "FreeBSD",
"FYD": "FydeOS",
"GNT": "Gentoo",
"GRI": "GridOS",
"GTV": "Google TV",
"HPX": "HP-UX",
"HAI": "Haiku OS",
"IPA": "iPadOS",
"HAR": "HarmonyOS",
"HAS": "HasCodingOS",
"IRI": "IRIX",
"INF": "Inferno",
"JME": "Java ME",
"KOS": "KaiOS",
"KNO": "Knoppix",
"KBT": "Kubuntu",
"LIN": "Linux",
"LIN": "GNU/Linux",
"LBT": "Lubuntu",
"LOS": "Lumin OS",
"VLN": "VectorLinux",
"MAC": "Mac",
"MAE": "Maemo",
"MAG": "Mageia",
"MDR": "Mandriva",

@@ -47,2 +60,3 @@ "SMG": "MeeGo",

"MTK": "MTK / Nucleus",
"MRE": "MRE",
"WII": "Nintendo",

@@ -53,2 +67,5 @@ "NDS": "Nintendo Mobile",

"OBS": "OpenBSD",
"OWR": "OpenWrt",
"ORD": "Ordissimo",
"PCL": "PCLinuxOS",
"PSP": "PlayStation Portable",

@@ -58,3 +75,6 @@ "PS3": "PlayStation",

"ROS": "RISC OS",
"ROK": "Roku OS",
"RSO": "Rosa",
"REM": "Remix OS",
"REX": "REX",
"RZD": "RazoDroiD",

@@ -64,2 +84,3 @@ "SAB": "Sabayon",

"SAF": "Sailfish OS",
"SEE": "SeewoOS",
"SLW": "Slackware",

@@ -75,4 +96,7 @@ "SOS": "Solaris",

"TIZ": "Tizen",
"TOS": "TmaxOS",
"UBT": "Ubuntu",
"WAS": "watchOS",
"WTV": "WebTV",
"WHS": "Whale OS",
"WIN": "Windows",

@@ -79,0 +103,0 @@ "WCE": "Windows CE",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc