---
title: "Trung Nam (@trungnam) | Hashnode"
description: "TrungNam. Read the latest articles by Trung Nam on Hashnode."
url: "https://hashnode.com/@trungnam"
---

@trungnam

# Trung Nam

@trungnam · Joined June 2017

TrungNam

### [Javascript: How to read and get data from an excel file](https://trungnam.hashnode.dev/javascript-how-to-read-and-get-data-from-an-excel-file?utm_source=hashnode&utm_medium=feed)

For myself, I'm using this function async function readDataFromExcel(file: File): Promise<any\[\]> { return new Promise((resolve, reject) => { const fileReader = new FileReader(); fileReader.onload = () => { const arrayBuffer = <any> fi...

1 min read · [trungnam.hashnode.dev](https://trungnam.hashnode.dev/javascript-how-to-read-and-get-data-from-an-excel-file?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/javascript-how-to-read-and-get-data-from-an-excel-file/610f1d58b79d6a11366822a9) [Aug 7, 2021](https://hashnode.com/posts/javascript-how-to-read-and-get-data-from-an-excel-file/610f1d58b79d6a11366822a9)

### [Javascript: Reset image's orientation before uploading](https://trungnam.hashnode.dev/javascript-reset-images-orientation-before-uploading?utm_source=hashnode&utm_medium=feed)

The images can have 8 orientation types like the image below and we have reset its orientation, I mean to convert to be like the first image.

2 min read · [trungnam.hashnode.dev](https://trungnam.hashnode.dev/javascript-reset-images-orientation-before-uploading?utm_source=hashnode&utm_medium=feed)

[Aug 3, 2021](https://hashnode.com/posts/javascript-reset-images-orientation-before-uploading/6109d2d2cfe20703b4e08259)

### [PDFMake: Getting started with PDF printing in pure javascript](https://trungnam.hashnode.dev/pdfmake-getting-started-with-pdf-printing-in-pure-javascript?utm_source=hashnode&utm_medium=feed)

hey, have you been generated and printed a pdf file in javascript? I found some libraries which support both client and server side. I tried to use and test to get a library that is suitable for me, I mean my project's requirement, and finally, I cho...

3 min read · [trungnam.hashnode.dev](https://trungnam.hashnode.dev/pdfmake-getting-started-with-pdf-printing-in-pure-javascript?utm_source=hashnode&utm_medium=feed)

[Jul 31, 2021](https://hashnode.com/posts/pdfmake-getting-started-with-pdf-printing-in-pure-javascript/6104b7343b9b85399dcf1fa1)

### [One of the best practices about Git-flow](https://trungnam.hashnode.dev/one-of-the-best-practices-about-git-flow?utm_source=hashnode&utm_medium=feed)

Currently, I'm working on a co-system project, which is using to manage customers, products, etc. Although Web Front-end team size is two, using Git-flow is necessary and important. Init git flow init -d Just using default configurations: Branch is...

2 min read · [trungnam.hashnode.dev](https://trungnam.hashnode.dev/one-of-the-best-practices-about-git-flow?utm_source=hashnode&utm_medium=feed)

[Jul 30, 2021](https://hashnode.com/posts/one-of-the-best-practices-about-git-flow/610342779036db5b3513b43f)

### [5 things help front end web developers be better](https://trungnam.hashnode.dev/5-things-help-front-end-web-developers-be-better?utm_source=hashnode&utm_medium=feed)

Usually use debounce Imagine when we implement some module like autocomplete or click to do something, everywhen user press any single key, we will request an API and render a lot of blocks and if there are about 10 - 20 blocks these will be ok, but ...

1 min read · [trungnam.hashnode.dev](https://trungnam.hashnode.dev/5-things-help-front-end-web-developers-be-better?utm_source=hashnode&utm_medium=feed)

[Jul 28, 2021](https://hashnode.com/posts/5-things-help-front-end-web-developers-be-better/6101e0bfd3dd5634ae908d35)
