Remove now deployments without an alias
npx now-purge
npm install -g now-purge
now-purge <command> [options]
Commands:
t now token
n name in package.json or now.json to filter your deployments
Options:
--team, -m team id
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
npm install now-purge --save
const nowPurge = require('now-purge')
// optional config parameters
const config = {
token: 'YOUR_NOW_TOKEN',
deploymentName: 'test',
team: 'OPTION_TEAM_ID',
}
nowPurge(config)
You can remove your oldest deployments without an alias
npm install -g now-purge
now-purge -t YOUR_NOW_TOKEN -n YOUR_NOW_OR_PACKAGE_NAME --team OPTION_TEAM_ID