package DDG::Spice::Npm;
# ABSTRACT: Returns package information from npm package manager's registry.

use strict;
use DDG::Spice;

triggers startend => 'npm', 'nodejs';
triggers start => 'npm install';

spice to => 'http://registry.npmjs.org/$1/latest';
spice wrap_jsonp_callback => 1;

handle remainder_lc => sub {
    return $_ if $_;
    return;
};

1;

Revert "remove NPM for testing"
Revert "remove NPM for testing"

Whoops, Wasn't meant to be pushed to master!

This reverts commit 2951b0458f6e0ab339cc8547a46f5298b1b498c2.
