local-dependency-packager
v1.0.0
Published
locally running codesandbox dependency packager. There is no aws-s3 and aws-lambda. Only run locally.
Downloads
5
Readme
locally running codesandbox dependency packager. There is no aws-s3 and aws-lambda. Only run locally.
const { pack } = require("local-dependency-packager");
const path = require("path");
async function exec() {
const response = await pack(
{
name: "axios",
version: "1.5.1",
},
{
registry: "https://registry.npmmirror.com",
installArgs: ["--json"],
yarnCliPath: path.resolve(__dirname, "./node_modules/yarn/lib/cli"),
},
);
}
exec();