Created
September 11, 2016 18:54
-
-
Save gbellmann/3a9caf7f9602e7f19693abf312eec932 to your computer and use it in GitHub Desktop.
Sample Node.js Azure Function using a require to import a library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Importamos la librería underscore.js | |
var _ = require('underscore'); | |
module.exports = function(context) { | |
// Usamos la librería underscore.js que importamos | |
var matched_names = _ | |
.where(context.bindings.myInput.names, {first: 'Juan'}); | |
// El resto del código de nuestra función | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment