🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

atrun

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atrun

Auto installs npm/yarn/any dependencies from the script you want to run and runs the script.

1.0.4
latest
Source
npm
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

atrun

Auto installs npm/yarn dependencies from the script you want to run and runs the script

atrun ---> auto run

npm install atrun

Usage

First install atrun

npm install -g atrun

Then make a script that uses some dependencies

const hypercore = require('hypercore')
console.log('hypercore is', hypercore)

Then simply run the script with atrun. It will npm install or yarn add any deps used by the script if they are not resolvable already.

## use default
atrun my-script.js

## use yarn
atrun my-script.js -r https://registry.npm.taobao.org -t yarn 

config

paramaction
-rset registry(npm/cnpm)
-tset tool(npm/yarn/cnpm)

License

MIT

FAQs

Package last updated on 07 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts