If you don’t have the Express generator already you will need to install it first by running the following command on your command line terminal: We will begin by creating a new Express app using the Express generator. Here is the end result of what we will be building in this tutorial: This will require us to create a custom storage engine to use with Multer - which we will be doing in this tutorial. We want to take over the uploaded file stream from Multer and then manipulate the stream buffer ( image) however we wish using Jimp, before writing the image to storage ( local filesystem). ![]() streamifier: A package to convert a Buffer/String into a readable stream. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |