Skip to content

aws-lambda-bins/api-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda bins API

Build Status

A setup tools for aws-lambda-bins.

Usage

const api = require('aws-lambda-bins');
const exec = require('child_process').exec;

exports.handler = (event, context, callback) => {
  api.install({bin: "git"}, () => {
    exec('git --version', (error, stdout, stderr) => {
      console.log(stdout);
      //=> git version 2.11.0
      callback(null);
    });
  });
};

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published