How to use verdaccio-memory - 1 common examples

To help you get started, we’ve selected a few verdaccio-memory examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / beachball / packages / beachball / src / fixtures / verdaccio.js View on Github external
// This is a helper file to make it easier to tell when verdaccio successfully launches or fails to launch.
// Using verdaccio CLI has the same output whether it fails or succeeds, just one additional line if it fails,
// making it very hard to tell if it spawned correctly.
const startServer = require('verdaccio').default;
const store = require('verdaccio-memory').default;

const arguments = {
  port: process.argv[2]
};

const port = arguments.port;

if (!port) {
  console.error('Please provide a port');
} else {
  const config = {
    packages: {
      '**': {
        access: '$anonymous',
        publish: '$anonymous'
      }

verdaccio-memory

Storage implementation in memory

MIT
Latest version published 2 years ago

Package Health Score

60 / 100
Full package analysis

Popular verdaccio-memory functions