{
  "slug": "code/npm",
  "title": "npm Packages",
  "description": "Publish npm packages safely with Cuitty Code Registry.",
  "url": "https://cuitty.com/docs/code/npm",
  "markdown_url": "https://cuitty.com/docs/code/npm.md",
  "json_url": "https://cuitty.com/docs/code/npm.json",
  "frontmatter": {
    "title": "npm Packages",
    "description": "Publish npm packages safely with Cuitty Code Registry.",
    "order": 21,
    "section": "Code",
    "updatedAt": "2026-05-21"
  },
  "headings": [],
  "body_markdown": "Cuitty Code Registry supports npm-compatible publishing and install flows.\n\nScoped package names must match the Cuitty owner slug or an approved alias. For example, `@acme/button` can only be published by the `acme` owner namespace or by an actor granted access to that namespace.\n\n`publishConfig.access = \"public\"` is not enough to make a package public. Public publishing requires a Cuitty permission and explicit visibility change.\n\n```bash\nnpm publish --registry https://registry.cuitty.dev/npm\nnpm install @acme/button --registry https://registry.cuitty.dev/npm\n```\n\nUnscoped packages are allowed under a Cuitty namespace and default to private.",
  "body_html": "<p>Cuitty Code Registry supports npm-compatible publishing and install flows.</p>\n<p>Scoped package names must match the Cuitty owner slug or an approved alias. For example, <code>@acme/button</code> can only be published by the <code>acme</code> owner namespace or by an actor granted access to that namespace.</p>\n<p><code>publishConfig.access = \"public\"</code> is not enough to make a package public. Public publishing requires a Cuitty permission and explicit visibility change.</p>\n<pre class=\"astro-code github-dark\" style=\"background-color:#24292e;color:#e1e4e8; overflow-x: auto;\" tabindex=\"0\" data-language=\"bash\"><code><span class=\"line\"><span style=\"color:#B392F0\">npm</span><span style=\"color:#9ECBFF\"> publish</span><span style=\"color:#79B8FF\"> --registry</span><span style=\"color:#9ECBFF\"> https://registry.cuitty.dev/npm</span></span>\n<span class=\"line\"><span style=\"color:#B392F0\">npm</span><span style=\"color:#9ECBFF\"> install</span><span style=\"color:#9ECBFF\"> @acme/button</span><span style=\"color:#79B8FF\"> --registry</span><span style=\"color:#9ECBFF\"> https://registry.cuitty.dev/npm</span></span></code></pre>\n<p>Unscoped packages are allowed under a Cuitty namespace and default to private.</p>",
  "links_out": []
}