How to use the symlink-dir.default function in symlink-dir

To help you get started, we’ve selected a few symlink-dir 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 cerebral / cerebral / scripts / run.js View on Github external
link(packagePath, done) {
        const packageBin = path.join(packagePath, 'node_modules', '.bin')
        symlinkDir(rootBin, packageBin).then(
          () => done(null, true),
          (err) => {
            console.warn(
              `Cannot create symlink '${packageBin}' (there is a directory there probably).`
            )
            done(err)
          }
        )
      },
      npm(cwd, done) {

symlink-dir

Cross-platform directory symlinking

MIT
Latest version published 10 days ago

Package Health Score

78 / 100
Full package analysis

Popular symlink-dir functions