
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
solid-tiny-utils
Advanced tools
Tiny utilities for SolidJS applications.
pnpm add solid-tiny-utils
import { access, createWatch, CreateLoopExec, isFn, isArray } from 'solid-tiny-utils';
access(value)Safely access a value that might be an accessor function.
const value = access(maybeAccessor); // Returns the value directly or calls the accessor
createWatch(targets, fn, options?)Create a watcher that runs when dependencies change.
createWatch(() => signal(), (value) => {
console.log('Value changed:', value);
});
CreateLoopExec(fn, delay)Execute a function in a loop with cleanup support.
CreateLoopExec(
async () => {
// Your async work here
},
1000 // Delay in milliseconds
);
isFn(value)Check if a value is a function.
if (isFn(value)) {
value(); // TypeScript knows it's a function
}
isArray(value)Check if a value is an array.
if (isArray(value)) {
value.forEach(...); // TypeScript knows it's an array
}
type MaybeArray<T> = T | T[];
type MaybePromise<T> = T | Promise<T>;
type MaybeAccessor<T> = T | Accessor<T>;
FAQs
A collection of tiny utilities for SolidJS applications
The npm package solid-tiny-utils receives a total of 17 weekly downloads. As such, solid-tiny-utils popularity was classified as not popular.
We found that solid-tiny-utils 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.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.