cnpmjs.org
Version:
Private npm registry and web for Enterprise, base on MySQL and Simple Store Service
22 lines (17 loc) • 394 B
JavaScript
/**!
* Copyright(c) cnpm and other contributors.
* MIT Licensed
*
* Authors:
* fengmk2 <fengmk2@gmail.com> (http://fengmk2.com)
*/
;
/**
* Module dependencies.
*/
var packageService = require('../../../services/package');
// GET /-/short
// List all packages names only
module.exports = function* () {
this.body = yield packageService.listAllPublicModuleNames();
};