Giter Club home page Giter Club logo

gln_parse's Introduction

GLN Extractor

GLN Extractor is a simple tool built with Node.js and Express, using mammoth.js, multer, textract, and xlsx to extract Global Location Numbers (GLNs) from .docx, .txt, and .xlsx files.

The tool provides a user-friendly interface for uploading files and choosing output options, allowing users to extract GLNs and output them either as an SQL script or a plain list.

Table of Contents

Installation

You'll need to have Node.js installed on your machine to run this application.

To install the application, first clone this repository:

git clone https://github.com/Ryan526/GLN_Parse.git

Next, navigate to the project's root directory and install the necessary dependencies:

cd GLN_Parse npm install

Usage

To start the server, run the following command: npm start

Then, open your web browser and navigate to http://localhost:80 to start using the GLN Extractor.

Dependencies

This project depends on the following npm packages:

  • express for creating the server and routing
  • multer for handling file uploads
  • mammoth for extracting text from .docx files
  • textract for extracting text from .txt files
  • xlsx for reading .xlsx files
  • fs (built into Node.js) for file system operations

File Overview

  • Extractor.js: This is the main server file. It sets up the server, handles routing and file uploads, extracts GLNs from the uploaded files, and sends the extracted GLNs back to the client.

  • Index.html: This is the client-side HTML file. It includes a form for file upload and output option selection, a div for displaying the results, and scripts for handling form submissions and displaying the results.

Contributors

Made with contrib.rocks.

gln_parse's People

Contributors

ryan526 avatar

Watchers

 avatar

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.