This will get you a list of package names, as a JSON array of strings:

$ curl http://registry.npmjs.org/-/short

and this will get you a ton of data on all packages, as a JSON object keyed
by package name:

$ curl http://registry.npmjs.org/-/all

npm uses a variation of the second URL, adding args to limit the data, when
you use 'npm search'; you can use '-dd' to see the URLs that npm sends to
the registry.

--
Martin Cooper


On Sun, Aug 18, 2013 at 10:26 AM, Stewart Obert <[email protected]>wrote:

> Hi,
>
> I wanted to find out with the site (npmjs.org) is there any method to
> retrieve a list of modules or search the modules with the result being json
> or xml?
>
> I appreciate any help
>
> Thanks,
>
> Stewart
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to