
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@asyarb/r-url
Advanced tools
Small wrapper around the native URL class that works with relative URLs.
Install package:
# ✨ Auto-detect
npx nypm install @asyarb/r-url
# npm
npm install @asyarb/r-url
# yarn
yarn add @asyarb/r-url
# pnpm
pnpm install @asyarb/r-url
# bun
bun install @asyarb/r-url
Import:
ESM (Node.js, Bun)
import { RURL } from "@asyarb/r-url";
CommonJS (Legacy Node.js)
const { RURL } = require("@asyarb/r-url");
Small wrapper around the native URL class that works with relative URLs.
const url = new RURL('/about-us')
const url = new RURL('/search')
url.searchParams.set('query', 'scholarships')
url.toString() // => "/search?query=scholarships"
pnpm installpnpm devMIT
🤖 auto updated with automd
FAQs
Small wrapper around the native `URL` class that works with relative URLs.
We found that @asyarb/r-url demonstrated a not healthy version release cadence and project activity because the last version was released 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
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.