0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/test/functional/fixtures/package.js
2017-08-06 21:54:15 +02:00

11 lines
233 B
JavaScript

module.exports = function(name, version) {
return {
name: name,
version: version || '0.0.0',
dist: {
shasum: 'fake',
tarball: `http://localhost:55551/${encodeURIComponent(name)}/-/blahblah`,
},
};
};