Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@travetto/exec

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/exec - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

6

package.json

@@ -11,3 +11,3 @@ {

"dependencies": {
"@travetto/base": "^0.4.3",
"@travetto/base": "^0.4.4",
"@types/generic-pool": "^3.1.4",

@@ -31,4 +31,4 @@ "generic-pool": "^3.4.2"

},
"version": "0.4.3",
"gitHead": "0e54fb6234288aef21ee43d845cec90e1a966a8f"
"version": "0.4.4",
"gitHead": "cd17462f7331b7a5a74181cfa9a1573b7cd26f9e"
}
travetto: Exec
===
**Install: primary**
```bash
$ npm install @travetto/exec
```
The exec module provides the necessary foundation for calling executables at runtime. Additionally special attention is provided to running [`docker`](https://www.docker.com/community-edition) containers.

@@ -10,2 +15,4 @@

A simple example would be
**Code: Running a directory listing via ls**
```typescript

@@ -32,2 +39,3 @@ async function executeListing() {

**Code: Establishing mongo as a DockerContainer instance**
```typescript

@@ -52,2 +60,3 @@ async function runMongo() {

**Code: Command Service example, using pngquant**
```typescript

@@ -84,2 +93,3 @@ const converter = new CommandService({

**Code: Image processing queue, with a fixed batch/pool size**
```typescript

@@ -86,0 +96,0 @@ class ImageProcessor {

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