A smartphone resting on an open notebook next to a laptop keyboard, banner image on the npm: look up packages and versions, search the registry, react to package, owner and scope changes. page

Connector - Developer

npm: look up packages and versions, search the registry, react to package, owner and scope changes.

The JavaScript package registry - publish, versions and download stats.

What npm can do

Starts when

  • A package changes
  • An owner changes a package
  • A scope changes

Does

  • Add a hook for a package, owner or scope
  • Update a hook
  • Remove a hook

Finds

  • Get a package and all its versions
  • Get one version of a package
  • Search the registry
  • List hooks

What it does

Ways teams use this connector.

Example 1

Version bumps on watched packages trigger a compatibility check.

Example 2

Weekly download stats compile for owned packages.

Example 3

Publish events post release notes to the team channel.

How connecting works

Access: A granular access token created in npm's settings or CLI - the only kind npm now supports - limited to the packages and IP ranges you choose and revocable at any time - no consent screen involved. You create the credential once on the provider's side and paste it here; HiringsAI stores it against your account and disconnect from the same screen whenever you want. Source: official npm documentation.

1You create it onceIn npm's own settings or CLI - granular access token.2The mechanism, exactlyGranular tokens are now the only kind; limit by package and IPrange (CIDR), revoke from web or CLI.3Token stored against your accountNothing reads or writes before you connect.4Disconnect anytimeFrom the same screen, whenever you want.How access works for this connector.

Free tools for this job

These free tools do part of the job in your browser, with no account: Readme Generator · Changelog Digest Maker · Browser Compat Checker.

All connectors

How it works

Version bump check. Sample package (example).

StepEventWhat happens (example)
1Dependency bumps 4.1 to 5.0Compatibility check starts
2WeeklyDownloads for owned packages
3Publish v1.2.0Release notes posted to team channel
4ReviewCheck passes

An example with sample numbers.

Questions about this connector

Can I connect npm?

Yes. Connect it from your HiringsAI account. Anything that changes data waits for your approval.

How does npm sign-in work?

A granular access token created in npm's settings or CLI - the only kind npm now supports - limited to the packages and IP ranges you choose and revocable at any time - no consent screen involved. You approve access once. HiringsAI stores the credential against your account, names what it holds, and lets you disconnect from the same screen.

What does it read and write?

No. Nothing reads or writes until you connect.

A wooden desk with glasses, a coffee cup, a plant and the edge of a laptop, banner image on the npm: look up packages and versions, search the registry, react to package, owner and scope changes. page

Find the connector you need.

Every connector page lists what it can do.

Starts whenDoesFindsA sample runStarts whenDoesFindsFree toolsA package changesAn owner changes a packageA scope changesAdd a hook for a package, owner or scopeUpdate a hookRemove a hookStarts whenDoesFindsA sample runStarts whenDoesFindsFree toolsA package changesAn owner changes a packageA scope changesAdd a hook for a package, owner or scopeUpdate a hookRemove a hook
01

What npm can do

This page lists what the npm connector can start from, do and find. Each section below takes one part and shows it step by step, from the connector's own feature list.

Starts when3 ways to start a run, such as: A package changes.
Does3 actions, such as: Add a hook for a package, owner or scope.
Finds4 lookups, such as: Get a package and all its versions.
A sample runVersion bump check.
02

npm at a glance

A count of what this page lists for the npm connector, by kind.

Starts when3 listed on this page.
Does3 listed on this page.
Finds4 listed on this page.
Free tools3 listed on this page.
Listed for npm
KindCount
Starts when3
Does3
Finds4
Free tools3
  1. ReadStart with what a run can start from or find.
  2. ChoosePick the action that fits the job.
  3. ConnectUse the connection steps on this page.
  4. RunStart the playbook that uses it.
03

What starts a run in npm

These are the events in npm that can start a playbook.

A package changesStarts a run in npm.
An owner changes a packageStarts a run in npm.
A scope changesStarts a run in npm.
04

What a run can do in npm

These are the actions a run can take in npm.

Add a hook for a package, owner or scopeAn action a run can take in npm.
Update a hookAn action a run can take in npm.
Remove a hookAn action a run can take in npm.
05

What a run can find in npm

These lookups let a run read before it changes anything in npm.

Get a package and all its versionsA lookup a run can make in npm.
Get one version of a packageA lookup a run can make in npm.
Search the registryA lookup a run can make in npm.
List hooksA lookup a run can make in npm.
06

A sample run, step by step

Version bump check. The numbers are made up to show the shape of a run.

Dependency bumps 4.1 to 5.0Compatibility check starts
WeeklyDownloads for owned packages
Publish v1.2.0Release notes posted to team channel
ReviewCheck passes
Sample run (example data)
StepEventWhat happens (example)
1Dependency bumps 4.1 to 5.0Compatibility check starts
2WeeklyDownloads for owned packages
3Publish v1.2.0Release notes posted to team channel
4ReviewCheck passes
  1. Step 1Dependency bumps 4.1 to 5.0: Compatibility check starts
  2. Step 2Weekly: Downloads for owned packages
  3. Step 3Publish v1.2.0: Release notes posted to team channel
  4. Step 4Review: Check passes
07

How connecting works

Access: A granular access token created in npm's settings or CLI - the only kind npm now supports - limited to the packages and IP ranges you choose and revocable at any time - no consent screen involved. You create the credential once on the provider's side and paste it here; HiringsAI stores it against your account and disconnect from the same screen whenever you want. Source: official npm documentation.

Can I connect npm?Yes.
How does npm sign-in work?A granular access token created in npm's settings or CLI - the only kind npm now supports - limited to the packages and IP ranges you choose and.
What does it read and write?No.
08

Free tools for this job

These free tools do part of the job in your browser, with no account.

Readme GeneratorOpens in your browser, no account.
Changelog Digest MakerOpens in your browser, no account.
Browser Compat CheckerOpens in your browser, no account.
09

Ways teams use npm

The uses this page lists for the npm connector, one per example.

Example 1Version bumps on watched packages trigger a compatibility check.
Example 2Weekly download stats compile for owned packages.
Example 3Publish events post release notes to the team channel.
  1. Use 1Version bumps on watched packages trigger a compatibility check.
  2. Use 2Weekly download stats compile for owned packages.
  3. Use 3Publish events post release notes to the team channel.
10

Questions about npm

The questions this page answers about the npm connector.

Can I connect npm?Yes.
How does npm sign-in work?A granular access token created in npm's settings or CLI - the only kind npm now supports - limited to the packages and IP ranges you choose and.
What does it read and write?No.
Can I connect npm?

Yes. Connect it from your HiringsAI account. Anything that changes data waits for your approval.

How does npm sign-in work?

A granular access token created in npm's settings or CLI - the only kind npm now supports - limited to the packages and IP ranges you choose and revocable at any time - no consent screen involved. You approve access once. HiringsAI stores the credential against your account, names what it holds, and lets you disconnect from the same screen.

What does it read and write?

No. Nothing reads or writes until you connect.

11

npm: start, act, look up

A short list that puts one part of each kind side by side, so you can see how a run reads and writes in npm.

StartA package changes
StartAn owner changes a package
StartA scope changes
ActionAdd a hook for a package, owner or scope
Start, act, look up in npm
KindWhat it does
StartA package changes
StartAn owner changes a package
StartA scope changes
ActionAdd a hook for a package, owner or scope
ActionUpdate a hook
ActionRemove a hook
LookupGet a package and all its versions
LookupGet one version of a package
  1. StartA package changes
  2. StartAn owner changes a package
  3. StartA scope changes
  4. ActionAdd a hook for a package, owner or scope
12

Where to go next from npm

These pages on this site help you check the details around the npm connector before you build a playbook.

ConnectorsBrowse every connector and compare what each can start, do and find.
PricingSee what each plan includes.
TrustRead how data, access and security are handled.
ToolsTry the free tools that run in your browser.
  1. BrowseOpen the connectors list.
  2. CheckRead the pricing page.
  3. VerifyRead the trust page.
  4. TryOpen a free tool.

Back to npm

Pick another connector or read this one again.

npm connectorAll connectors