capabilities.work

Set a package's visibility and 2FA policy

One step with npm. We can help you get access.

Get something done

Set a package's visibility and 2FA policy

with npm

Use npm: its npm Registry Access API lets you set a package's visibility and 2FA policy in a single step (POST /-/package/{escapedPackageName}/access). capabilities.work can help you get signed up and connected.

  • How do I make a package private?
  • Can I require 2FA for publishing a package?
  • Is it possible to let automation tokens bypass 2FA on a package?
Say it to your AI assistant
  • Set package {escapedPackageName} visibility to {access}.
  • Require 2FA for publishing {escapedPackageName} by setting publish_requires_tfa to {publish_requires_tfa}.
  • Make automation tokens override 2FA on {escapedPackageName} by setting automation_token_overrides_tfa to {automation_token_overrides_tfa}.
For your developer

POST /-/package/{escapedPackageName}/access in npm Registry Access API. Full spec on APIs.io.