Skip to content
Latchkey

Scoped Package - CI/CD Glossary Definition

A scoped package is an npm package namespaced under an @scope/ prefix, like @latchkey/cli, which groups related packages and maps a whole scope to a specific registry.

Why scopes exist

A scope reserves a namespace so @acme/utils cannot be impersonated, and it lets .npmrc route everything under @acme/ to a private registry while public packages still come from npmjs.org.

Publishing

Scoped packages default to private; publishing a public one requires npm publish --access public.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →