
Research
/Security News
GlassWASM: WebAssembly Malware Found in Trojanized Open VSX Extensions
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.
@armniko/assets
Advanced tools
A tiny, zero-dependency JavaScript/TypeScript library for fetching and managing assets with in-memory caching and automatic font registration for canvas and dynamic text rendering.
A tiny, zero-dependency JavaScript/TypeScript library for fetching and managing assets with in-memory caching and automatic font registration for canvas and dynamic text rendering.
Supported formats:
woff, woff2, ttf, otf (downloaded fonts are automatically registered in the browser, making them
immediately available for canvas and dynamic text rendering)png, webp, jpg, jpeg, svg, gifwebm, mp3, ogg, m4a, aac, wavjsonnpm install @armniko/assets
import {Assets, AssetsBatch, type Progress} from '@armniko/assets';
const assetsBatch: AssetsBatch = new AssetsBatch({
assets: [
'url/to/asset-1.png', // access loaded asset: assets.image('asset-1')
{asset2: 'url/to/asset-2.jpg'}, // access loaded asset: assets.image('asset2')
],
onLoad: (name: string, progress: Progress): void => {
console.log(`Loaded ${name}: ${progress.percents()}%`);
},
onComplete: (): void => {
console.log('Done!');
},
onError: (url: string, error: Error): void => {
console.log(url, error);
}
});
const assets: Assets = new Assets();
assets.fetch(assetsBatch);
| v1.5.0 |
Removed minification of build. Added exports field for proper module resolution and types.Marked package as side-effect free. |
| v1.4.1 | Updated readme. |
| v1.4.0 |
Added JSON loader. Added asset() method to get assets without knowing type. |
| v1.3.0 |
Added audio loader. Added webp format. Migrated from webpack to vite. |
| v1.2.0 |
Option to specify custom asset name. Added font loader. |
| v1.1.0 | Precompiled UMD and ESM. |
| v1.0.0 | Initial version. |
FAQs
A tiny, zero-dependency JavaScript/TypeScript library for fetching and managing assets with in-memory caching and automatic font registration for canvas and dynamic text rendering.
We found that @armniko/assets 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
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.