
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@sunamo/sunodejs
Advanced tools
Node.js utilities for file system operations, process management, and Electron apps. Includes TypeScript support with functions for file operations, directory management, and cross-platform compatibility.
A comprehensive Node.js utility library with TypeScript support for file system operations, process management, and Electron applications.
npm install sunodejs
import {
fileExists,
createFoldersPsysicallyUnlessThere,
writeAllLines,
} from "sunodejs";
// Check if file exists
const exists = await fileExists("/path/to/file.txt");
// Create directories recursively
await createFoldersPsysicallyUnlessThere(logger, "/path/to/directory");
// Write lines to file
await writeAllLines(logger, "/path/to/file.txt", ["line1", "line2", "line3"]);
import { ProcessUtils } from "sunodejs";
// Process management utilities
// (See source code for available functions)
import { ElectronLoggerNode } from "sunodejs";
// Electron-specific logging and utilities
// Designed for Electron main process integration
fileExists(path: string): Promise<boolean>
- Check if file existsfileExistsWithData(path: string): Promise<boolean>
- Check if file exists with datacreateFoldersPsysicallyUnlessThere(log: ElectronLoggerNode, path: string): Promise<boolean>
- Create directories recursivelywriteAllLines(log: ElectronLoggerNode, filePath: string, lines: string[]): Promise<void>
- Write lines to fileAppFolders
- Application folder constantsElectronLoggerNode
- Logger interface for Electron applicationsThis library was created to solve bundling issues with Node.js modules in web environments, particularly for Electron applications. Node core modules like net
, tls
, and child_process
don't exist in web environments, but are often required by Node.js libraries.
This package provides a clean separation between Node.js functionality and web-compatible code, making it ideal for Electron applications that need to maintain strict separation between main and renderer processes.
Contributions are welcome! Please feel free to submit a Pull Request.
ISC License
FAQs
Node.js utilities for file system operations, process management, and Electron apps. Includes TypeScript support with functions for file operations, directory management, and cross-platform compatibility.
The npm package @sunamo/sunodejs receives a total of 4 weekly downloads. As such, @sunamo/sunodejs popularity was classified as not popular.
We found that @sunamo/sunodejs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.