This is a simple script that will automatically add the property name to every package.json recursively in the current directory.
This script will OVERWRITE ALL package.json files in the current directory and all subdirectories that don't have the name property.
Just run
npx zx https://raw.githubusercontent.com/BrunoS3D/auto-name-package-json/main/index.mjs