delete-npm-org-packages.devtools
Delete NPM packages in an organization.
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.6%) to scientific vocabulary
Repository
Delete NPM packages in an organization.
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
Delete NPM packages in an organization.

First adjust the executablePath in index.js to point to your Chrome
executable, and userDataDir to a directory where Chrome can store its data.
Open Chrome and log in to NPM. Then navigate to the settings page of a package
in your organization, and enter your one time password or login password (this
is needed to enter sudo mode in NPM).
Then run:
bash
$ node index.js "<org>"
Where <org> is the name of the organization you want to delete packages from.
This will open a Chrome window and start by first scanning all the package
names. Then it will open a new tab for each package and start deleting packages.
You can stop the process at any time by closing the window.
References
- Query Selectors - Puppeteer
- ElementHandle class - Puppeteer
- Connecting Browsers in Puppeteer
- Puppeteer detect when the new tab is opened and get page object
- Puppeteer Execution context was destroyed, most likely because of a navigation
Owner
- Name: pantryf
- Login: pantryf
- Kind: organization
- Repositories: 1
- Profile: https://github.com/pantryf
Exploring cutting-edge tech to drive business forward.
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Sahu
given-names: Subhajit
orcid: https://orcid.org/0000-0001-5140-6578
title: "javascriptf/devtools-delete-npm-org-packages: Delete NPM packages in an organization"
version: 1.0.0
doi: 10.5281/zenodo.8051476
date-released: 2023-06-18
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Subhajit Sahu | w****7@g****m | 7 |
Issues and Pull Requests
Last synced: 7 months ago
