package-name-fixer

1.0.9 • Public • Published

package-name-fixer

Goes into package.json and update the name to match the Github repository. Also updates author, description. It's useful when a npm repo is build out of a template.

Written using bun

Usage

$ bun start

Usage from another package

Update package.json:

{
  //...
  "scripts": {
    //...
    "fix-package-name": "npm explore package-name-fixer -- bun start \"$(pwd)\""
  },
  "devDependencies": {
    //...
    "package-name-fixer": "^1.0.9",
  }
}

Package Sidebar

Install

npm i package-name-fixer

Weekly Downloads

7

Version

1.0.9

License

none

Unpacked Size

149 kB

Total Files

9

Last publish

Collaborators

  • vincentlequang