Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nomine

coderaiser833MIT4.0.0

file rename as express middleware

file, folder, rename, group, name

readme

Nomine License NPM version Dependency Status Build Status Coverage Status

File rename as express middleware.

Install

npm i nomine --save

API

const express = require('express');
const app = express();

app.use(nomine({
    prefix: '/rename' // default
});

app.listen(3000, function () {
    console.log('Example app listening on port 3000!');
});

Usage Example

After starting web-server with used nomine middleware it waits for payload sended on /rename url (by default). Payload could look this way:

{
    "dir": "/",
    "from": [
        "bin"
    ],
    "to": [
        "bin2"
    ]
}
$ curl -X PUT -d '{"dir":"/","from":["bin"], "to": ["bin2"]}' http://localhost:3000/rename
EACCES: permission denied, rename '/bin' -> '/bin2'
  • Renamify - rename group of files from a directory

License

MIT

changelog

2019.09.21, v4.0.0

feature:

  • (nomine) drop support of node < 10
  • (nomine) madrun
  • (package) eslint v6.4.0
  • (package) pullout v4.0.0
  • (package) nyc v14.1.1

2018.11.14, v3.0.1

feature:

  • (package) add eslint-plugin-node
  • (package) pullout v3.0.0
  • (package) eslint-plugin-node v8.0.0

2018.10.10, v3.0.0

feature:

  • (package) nyc v13.0.1
  • (package) eslint-plugin-node v7.0.1
  • (package) eslint v5.6.1
  • (package) redrun v7.0.2
  • (package) renamify v3.0.1
  • (nomine) drop support of node < 8

2018.06.06, v2.0.1

feature:

  • (package) pullout v2.0.0
  • (package) nyc v12.0.2

2018.05.31, v2.0.0

feature:

  • (package) coveralls v3.0.1
  • (package) node-fetch v2.1.2
  • (package) redrun v6.0.4
  • (package) eslint-plugin-node v6.0.1
  • (package) renamify v2.0.0
  • (nomine) drop support of node < 4
  • (package) redrun v6.0.0
  • (package) buble v0.19.2
  • (package) eslint-plugin-node v6.0.0
  • (package) node-fetch v2.0.0

2018.01.31, v1.0.4

feature:

  • (package) es6-promisify v6.0.0
  • (package) buble v0.18.0
  • (package) buble v0.17.0
  • (package) coveralls v3.0.0
  • (package) buble v0.16.0

2017.07.25, v1.0.3

fix:

  • (nomine) node v4 support

feature:

  • (gitignore) add package-lock.json
  • (package) nyc v11.0.2
  • (package) eslint v4.0.0

2016.12.29, v1.0.2

fix:

  • (nomine) duplicate slash

feature:

  • (package) buble v0.15.1

2016.12.23, v1.0.1

fix:

  • (package) dependencies: nomine -> renamify