Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@reflink/reflink
Advanced tools
[![npm version](https://badge.fury.io/js/%40reflink%2Freflink.svg)](https://www.npmjs.com/package/@reflink/reflink) [![Build Status](https://github.com/pnpm/reflink/workflows/CI/badge.svg)](https://github.com/pnpm/reflink/actions)
Copy-on-write file cloning for Node.js, powered by NAPI-RS and built upon reflink-copy. This package supports a variety of platforms, including ARM and x86 architectures.
- Linux
- MacOS
- Windows (Server 2012+ and Windows Dev Drives)
Just install @reflink/reflink
using your favorite package manager:
pnpm add @reflink/reflink
The package provides both synchronous and asynchronous methods to clone files.
First, import the package:
import { reflinkFileSync, reflinkFile } from '@reflink/reflink';
reflinkFileSync('source.txt', 'destination.txt');
await reflinkFile('source.txt', 'destination.txt');
This package is tested using vitest
. You can run the tests locally using:
yarn install
yarn build
yarn test
FAQs
[![npm version](https://badge.fury.io/js/%40reflink%2Freflink.svg)](https://www.npmjs.com/package/@reflink/reflink) [![Build Status](https://github.com/pnpm/reflink/workflows/CI/badge.svg)](https://github.com/pnpm/reflink/actions)
The npm package @reflink/reflink receives a total of 8,875 weekly downloads. As such, @reflink/reflink popularity was classified as popular.
We found that @reflink/reflink 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.