Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

webcraft-utils

Latest version: v2.2.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: suyogmarkad
0 Stars
0 Forks
2 Versions
TypeScript Repo language

Scan summary

webcraft-utils was last scanned on 29 Nov 2026 at version 2.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 29 Nov 2026.
  • Findings: No rules fired in version 2.2.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.2.0 LATEST 29 Nov 2026 No rules fired
0.0.0-stage 29 Nov 2026 Not shown

No rules fired in 2.2.0

Findings

Findings for v2.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

⚡ WebCraft Utils

Browser utilities for JavaScript and TypeScript.

Clipboard · Storage · Network · Notifications · Debounce · Throttle · OTP

Overview · Installation · Usage · Tech Stack · Author


Overview

WebCraft Utils provides clean, type-safe wrappers for modern Web APIs and utilities. It abstracts browser inconsistencies, handles edge cases, and implements safe error recovery fallback mechanisms, allowing developers to implement features with single-line operations.

Key Features
  • Modular Imports: Import only the utilities required for your application to minimize bundle size.
  • Full TypeScript Integration: 100% type definition coverage with JSDoc descriptions for enhanced IDE IntelliSense.
  • Framework Agnostic: Integrates seamlessly with React, Vue, Svelte, Angular, Next.js, or vanilla JavaScript projects.
  • Safe Error Handling: Prevents application crashes due to browser-specific unsupported APIs through graceful fallback behaviors.
  • Zero Dependencies: Developed entirely with native browser features to ensure a minimal library footprint.

Installation

Install the package via your preferred package manager:

npm install webcraft-utils

Or via yarn:

yarn add webcraft-utils
CDN Usage (ES Modules)

You can import specific modules directly into standard HTML documents using CDN services like jsDelivr:

<script type="module">
  import { copyToClipboard } from 'https://cdn.jsdelivr.net/npm/webcraft-utils/+esm';

  copyToClipboard('Hello from the CDN!');
</script>

Usage Examples

Clipboard API (TypeScript / JavaScript)
import { copyToClipboard } from "webcraft-utils/browser/clipboard";

copyToClipboard("Text to copy")
  .then(() => {
    console.log("Text successfully copied to clipboard.");
  })
  .catch((error) => {
    console.error("Clipboard write operation failed:", error);
  });
Network Status (React Integration)
"use client";

import React, { useEffect, useState } from "react";
import { isOnline } from "webcraft-utils/browser/network/is-online";

export default function NetworkStatusIndicator() {
  const [online, setOnline] = useState(true);

  useEffect(() => {
    setOnline(isOnline());

    const updateStatus = () => setOnline(isOnline());
    window.addEventListener("online", updateStatus);
    window.addEventListener("offline", updateStatus);

    return () => {
      window.removeEventListener("online", updateStatus);
      window.removeEventListener("offline", updateStatus);
    };
  }, []);

  return (
    <div>
      <p>Current Status: {online ? "Online" : "Offline"}</p>
    </div>
  );
}
Device Vibration
import { vibrate } from "webcraft-utils/browser/vibrate";

// Triggers a vibration-pause-vibration haptic feedback pattern
vibrate([200, 100, 200]);

Project Structure

WebCraft Utils is organized into clean, specific functional categories:

  • Browser APIs: Safe wrappers for native capabilities such as Battery, Clipboard, Geolocation, Notifications, Storage, and Visibility.
  • Performance Utilities: Core performance helpers such as debounce and throttle.
  • General Utilities: OTP generation.

Contributing

Contributions to the project are welcome. Please refer to the Contributing Guide for detailed workflows and formatting guidelines.


Author of this customized release

Suyog Markad

Branding, website contact details, and package/repository configuration customizations. Original code authorship is credited below.


License

This project is licensed under the terms of the MIT License. See the LICENSE file for the complete license text.

Package compatibility

This package provides ES modules and TypeScript declarations, including subpath imports. Use import syntax; CommonJS require is not provided. Browser utilities must be called in a browser environment with the relevant Web API available.

Tech Stack

Area Technologies
Library TypeScript, JavaScript ES modules, native Web APIs
Documentation website Next.js, React, Tailwind CSS
Website animations GSAP, Framer Motion

The npm library has no runtime dependencies; the website dependencies are separate.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm webcraft-utils

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229