0.1.1 • Published 5 years ago
copy-package v0.1.1
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 .