0.1.1 • Published 5 years ago

copy-package v0.1.1

Weekly downloads
7
License
-
Repository
-
Last release
5 years ago

copy-package

Allows you to download and copy files from a npm package from a temporary installation into your current directory.

import { copyPackageToTempDir } from 'copy-package';

(async () => {
  try {
    let path = await copyPackageToTempDir('expo-template-bare-minimum');
  } catch(e) {
    // uh oh
  }
})();
$ copy-package expo-template-bare-minimum .