# node-batch-rename

> **This library is for batch renaming of image files, Currently only Windows is supported, And only for Nodejs.**

Latest version **1.0.2** (published 2021-07-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install node-batch-rename
pnpm add node-batch-rename
yarn add node-batch-rename
bun add node-batch-rename
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2021-07-10 |
| First published | 2021-07-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | neo |
| Maintainers | neo-zhang |

## Links

- npm: https://www.npmjs.com/package/node-batch-rename
- npm.io page: https://npm.io/package/node-batch-rename

## Recent versions

- 1.0.2 (latest) — 2021-07-10
- 1.0.1 — 2021-07-05

## README

# node-batch-rename

**This library is for batch renaming of image files, Currently only Windows is supported, And only for Nodejs.**

**github:  [ZSX-DB/node-batch-rename (github.com)](https://github.com/ZSX-DB/node-batch-rename)**

```javascript
// Example
const batchRename = require('node-batch-rename')

// If you don't need to transfer the image file
batchRename({
    isTransfer: false,
    originPath: __dirname + '/images'
})

// Or you need to transfer image files
batchRename({
    isTransfer: true,
    originPath: __dirname + '/images',
    targetPath: 'D:\target'
})

// You can specify naming conventions, support function and strings, but this is not necessary
batchRename({
    isTransfer: false,
    originPath: __dirname + '/images',
    namingRule: ...
})
```

---
_Source: https://npm.io/package/node-batch-rename · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
