JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 69
  • Score
    100M100P100Q75883F
  • License MIT

rename group of files from a directory

Package Exports

  • renamify
  • renamify/legacy

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (renamify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

renamify License NPM version Dependency Status Build Status Coverage Status

Rename group of files from a directory.

Install

npm i renamify --save

API

const renamify = require('renamify');

const dir = '/';
const names = [
    'bin'
];

const newNames = [
    'super-bin'
];

renamify(dir, names, newNames, (error) => {
    console.log(error|| 'done');
});

Environments

In old node.js environments that not fully supports es2015, renamify could be used with:

var renamify = require('renamify/legacy');

License

MIT