Preinstalled Modules¶
Backendless Cloud Code provides 4 preinstalled Node.js modules that can be used without installation into a specific DeploymentModel:
Module |
Version |
Description |
---|---|---|
aws-sdk |
2.642.0 |
This SDK allows calling AWS services using idiomatic JavaScript APIs to build Node.js, web, and mobile web applications. |
date-fns |
2.28.0 |
Library that provides comprehensive toolset for manipulating JavaScript dates in a browser & Node.js. |
lodash |
4.17.21 |
Lodash is a library that comes with several built-in utility functions that make coding in Javascript easier and cleaner. |
sharp |
0.30.7 |
Multipurpose image processing library that allows resizing, manipulating colors and channels, performing different image operations such as 'rotate', 'sharpen', 'flip', and many more. |
If your development process is local, then modules must be installed globally in the local environment.
To use one of the modules shown above, you must add it to your code as usual, for instance:
const sharp = require('sharp')