🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

bert.js

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bert.js - npm Package Compare versions

Comparing version
0.0.19
to
0.0.20
.github/CONTRIBUTING.md
+3
-0
const gulp = require('gulp')
+14
-5

@@ -10,8 +10,17 @@ #! /usr/bin/env node

default: {
bertfile: '.bert.js'
}
bertfile: '.bert.js',
'global-bert': false
},
alias: {
'g': 'global-bert'
},
boolean: [
'global-bert'
]
})
console.log(argv)
/* Load instance to bert */
const localBertPath = process.env.BERT_MODE_DEV
const localBertPath = process.env.BERT_MODE_DEV || argv['global-bert'] === true
? '..'

@@ -63,3 +72,3 @@ : (() => {

tasksToLoad.forEach(taskName => {
tasksToLoad.forEach((taskName) => {
if (taskName in localBert.tasks) {

@@ -82,3 +91,3 @@ const task = localBert.tasks[taskName]

for (let i = 0; i < serieTasks.length; i+=1) {
for (let i = 0; i < serieTasks.length; i += 1) {
const taskName = serieTasks[i]

@@ -85,0 +94,0 @@

@@ -13,2 +13,3 @@ 'use strict'

}
util.inherits(Bert, Orchestrator)

@@ -15,0 +16,0 @@

{
"name": "bert.js",
"version": "0.0.19",
"version": "0.0.20",
"description": "A child process async.",

@@ -5,0 +5,0 @@ "main": "index.js",

# 🍹 bert
A child process async with [Docker][].
A child process to work with [Docker][].
bert.js prepares an environment to load your command. it is useful to a used application without your local installation.
## What does Bert?
Bert is a module to NodeJS, this provides an easily API to work with [child_process][] on you local machino or a container inside Docker.
Bert is a module to NodeJS, this provides an easily API to work with [child_process][] on you local machino or a container inside [Docker][].

@@ -22,4 +24,17 @@ ![🍹 > bert](./assets/bert-bg.png)

### A Example
```javascript
const bert = require('bert.js')
// Prepare the agent to node 7.7.0
const node = bert.agent('node', { image: 'node:7.7.0' })
// Many things
node.sh(['node', '--version']) // v7.7.0
```
[new issue]: https://github.com/JonDotsoy/bert-cli/issues/new "New Issue"
[child_process]: https://nodejs.org/api/child_process.html "Child Process"
[Docker]: http://docker.io/ "A Better Way to Build Apps"