@travetto/exec
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -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 { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31380
131
Updated@travetto/base@^0.4.4