Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • Socket score

Version published
Weekly downloads
0
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc