Giter Site home page Giter Site logo

node-caman-aws-lambda's Introduction

node-caman-aws-lambda

CamanJS node module with compiled dependency modules and native libraries.

Node modules on which caman depends:

canvas:

Based on node-canvas-aws-lambda-example - added some additional libs that were required (at least for me to get it working), nice how to guide for compiling libraries on EC2 instance, and script libs_build that does libs downloading and compiling for you (simple script which could break if i.e. curl fails downloading...). Also libraries are sparated in /lib folder.

fibers:

Fibers also needed to be recompiled with node-gyp on EC2 running same OS version as AWS Lambda.

Native libs

Compiled native libs (required by node-canvas) are placed in /lib folder.

Usage

Before deploying to AWS Lambda you should just replace modules in node_modules folder with the 3 provided here (caman, canvas, fiber). Copy lib folder to your project folder. I suggest using https://github.com/motdotla/node-lambda with post install script for deployment.

node-caman-aws-lambda's People

Contributors

navihtot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

node-caman-aws-lambda's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.