🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@lxf2513/node-mv

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lxf2513/node-mv

The 'mv' command implementation for nodejs.It will create all the necessary directories and destination file which not exist.

latest
Source
npmnpm
Version
1.3.2
Version published
Maintainers
1
Created
Source

node-mv

The 'mv' command implementation for nodejs.It will create all the necessary directories and destination file which not exist.

Installation

npm install @lxf2513/node-mv

Usage

import { mv } from '@lxf2513/node-mv'
// or
import { createRequire } from 'node:module'
const require = createRequire(import.meta.url)
const { mv } = require('@lxf2513/node-mv')

mv(source, dest, options?)

mv([source1, source2], dest, options?)

*/

Options

  • clobber: If the destination exists, overwrite it, default true
  • mkdirp: It first created all the necessary directories recursively, default false

Command Line Interface

Usage: nodemv [OPTION]... SOURCE... DIRECTORY
Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY.

  -h, --help         display this help and exit
  -v, --version      output version information and exit
  -n, --no-clobber   do not overwrite an existing file
  --mkdirp           make the dest directory recursively if it not exist

Keywords

mv

FAQs

Package last updated on 20 Nov 2025

Did you know?

Socket

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.

Install

Related posts