Skip to content

CLI tools behind a Nodejs namespace #1178

Open

Description

@danielleadams

Not sure if this is the right place for this issue, so I am happy to move it. I opened it here because it affects multiple tools in the Node.js org.

Since the installation instructions on the Node.js tooling (ie. https://github.com/nodejs/node-core-utils, https://github.com/nodejs/changelog-maker, etc) recommend a global install, should these be put under a Node.js scope on the npm registry such as @nodejs/<packagename>?

It establishes a level of trust in the published packages ("I know this came from the Node org"), and it will hopefully help contributors avoid accidental installations of similarly named packages.

Docs: https://docs.npmjs.com/cli/v8/using-npm/scope

Activity

  1. ljharb commented on Feb 25, 2022

    @ljharb
    SponsorMember

    Perhaps they should also recommend using npx instead, since global installs are widely discouraged in the community.

  2. danielleadams commented on Feb 25, 2022

    @danielleadams
    ContributorAuthor

    @ljharb yeah, we should probably do both

  3. mmarchini commented on Feb 26, 2022

    @mmarchini
    Contributor

    I like the idea of using namespace but would rather not use @nodejs, as that might encourage project specific tools to be used externally, which is not recommended. Something like @nodejs-dev maybe?

  4. mhdawson commented on Feb 28, 2022

    @mhdawson
    Member

    Or maybe even something more specific like @nodejs-dev-internal ?

  5. mcollina commented on Mar 2, 2022

    @mcollina
    SponsorMember

    I'm ok to use an org/scope but not @nodejs. I'm ok with @nodejs-dev but I think @nodejs-core is more explicit in intent.

  6. targos commented on Mar 2, 2022

    @targos
    Member

    I like @nodejs-core or @node-core.

    node-core-utils could be renamed to @node-core/utils

  7. mcollina commented on Mar 2, 2022

    @mcollina
    SponsorMember

    @node-core/utils has a nice sound.

  8. MylesBorins commented on Mar 2, 2022

    @MylesBorins
    Contributor

    +1 for @node-core

    it looks like the scope is currently being squatted but if someone opens a ticket with npm support (shouldn't be me) I can look into getting us access

  9. mhdawson commented on Apr 5, 2023

    @mhdawson
    Member
  10. danielleadams commented on Apr 7, 2023

    @danielleadams
    ContributorAuthor

    I think that was me that squatted on it shortly after we discussed initially. Never got around to moving this forward, but I can unsquat so we can use it.

  11. Ethan-Arrowood commented on May 9, 2023

    @Ethan-Arrowood
    Contributor

    Relative to the thread I just opened on admin (nodejs/admin#794) I like the idea of dev-related stuff being published under a different scope than public stuff.

  12. Ethan-Arrowood commented on May 10, 2023

    @Ethan-Arrowood
    Contributor

    Making a plan to solve this with @danielleadams .

  13. mhdawson commented on May 16, 2023

    @mhdawson
    Member

    I just received notification that node-core was transferred to the nodejs-foundation account. We can now start publishing packages in that namespace.

  14. Ethan-Arrowood commented on May 16, 2023

    @Ethan-Arrowood
    Contributor

    Do we have @nodejs too? I don't think its been decided yet what the external scope will be, but i think that one was shared during collab summit

  15. mhdawson commented on May 16, 2023

    @mhdawson
    Member

    Right now we have node, node-core and pkgjs

  16. mhdawson commented on May 31, 2023

    @mhdawson
    Member

    @danielleadams now that we have node-core what are the next steps and does this still need to be on the TSC agenda.

  17. Ethan-Arrowood commented on Jun 1, 2023

    @Ethan-Arrowood
    Contributor

    @mhdawson I think we need to merge nodejs/admin#795 too + make the public facing scope happen

  18. mhdawson commented on Jun 7, 2023

    @mhdawson
    Member

    Discussed in meeting today. Those in attenance agreed should be ok to start migrating packages to the node-core namespace as we have the namespace and no objections have been raised.

  19. Ethan-Arrowood commented on Sep 13, 2023

    @Ethan-Arrowood
    Contributor

    I'm glad to see @node-core was approved. Can y'all discuss another scope for public facing modules next? Thank you! RE: nodejs/admin#794

  20. jasnell commented on Jul 18, 2025

    @jasnell
    Member

    There's been no activity here since Sep 2023. Are there concrete actions remaining? Does this need to remain open?

  21. Ethan-Arrowood commented on Jul 22, 2025

    @Ethan-Arrowood
    Contributor

    I think this is particularly focussed on private / internal scoped modules and node-core was selected and has been used for some time. The other referenced issue is still open though but can likely be tracked in a separate TSC issue if necessary (its currently in admin) nodejs/admin#794

  22. Ethan-Arrowood commented on Jul 22, 2025

    @Ethan-Arrowood
    Contributor

    Ha I didn't even realize that got merged into main. Seems like I can also close that admin issue now too. 🚀

    I don't think we are publishing using the @nodejs scope yet though, are we?

  23. jasnell commented on Mar 25, 2026

    @jasnell
    Member

    Any concrete updates here?

  24. Ethan-Arrowood commented on Mar 25, 2026

    @Ethan-Arrowood
    Contributor

    I can look into the CLI tools repo and see about modifying any publishing step to use the @nodejs-core scope and then make any necessary docs updates to Node core (or anywhere else). I may not have appropriate permissions though and the publishing step could be better suited for a TSC member. I can also see about making modules like undici and amaro publish under @nodejs too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions