An open API service indexing awesome lists of open source software.

https://github.com/brunos3d/auto-name-package-json

This is a simple script that will automatically add the property name to every package.json recursively in the current directory.
https://github.com/brunos3d/auto-name-package-json

append bulk extend file glob json massive name overwrite package-json rename zx

Last synced: 2 months ago
JSON representation

This is a simple script that will automatically add the property name to every package.json recursively in the current directory.

Awesome Lists containing this project

README

        

# auto-name-package-json

This is a simple script that will automatically add the property `name` to every `package.json` recursively in the current directory.

## ⚠ Warning ⚠

This script will **OVERWRITE ALL** `package.json` files in the current directory and all subdirectories that don't have the `name` property.

## How to use it

Just run

```sh
npx zx https://raw.githubusercontent.com/BrunoS3D/auto-name-package-json/main/index.mjs
```