๐Ÿš€ Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more โ†’
Sign In

os-theme

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

os-theme - npm Package Compare versions

Comparing version
0.0.1
to
0.0.3
+6
-1
package.json
{
"name": "os-theme",
"version": "0.0.1",
"version": "0.0.3",
"description": "Cross-platform OS theme detection (dark/light mode) with event-driven change notifications for Node.js and Bun",

@@ -40,2 +40,7 @@ "module": "src/index.ts",

],
"optionalDependencies": {
"@os-theme/darwin-arm64": "0.0.3",
"@os-theme/linux-x64": "0.0.3",
"@os-theme/win32-x64": "0.0.3"
},
"devDependencies": {

@@ -42,0 +47,0 @@ "@types/bun": "latest"

+5
-7

@@ -7,9 +7,7 @@ # os-theme

- ๐ŸŒ— Detect current OS theme (`dark` or `light`)
- ๐Ÿ“ก Get notified when the theme changes
- ๐Ÿ–ฅ๏ธ Cross-platform โ€” macOS, Windows, Linux
- โšก Native Rust core with dual runtime support
- ๐ŸŸข **Bun** โ€” direct FFI via `bun:ffi` (zero overhead)
- ๐ŸŸข **Node.js** โ€” N-API addon via `napi-rs` (works with tsx, ts-node, etc.)
- ๐Ÿชถ Zero JS dependencies
- Detect current OS theme (`dark` or `light`)
- Get notified when the theme changes
- Cross-platform โ€” macOS, Windows, Linux
- Bun and Node support
- Zero JS dependencies

@@ -16,0 +14,0 @@ ## Install