Skip to content

ggranum/nodejs-file-processor-template

Repository files navigation

File-processor

Why?

I needed an example for someone of how to use Typescript and NodeJS who needed to do some file processing. Thus, a wee template for streaming a set of files through a handler.

What's it good for?

If you are batch processing files that change or land in a folder, and you'd like to just 'watch' a folder and execute the batch whenever there is a matching change... this template is for you.

It also demonstrates file handling, injection, using Typescript with NodeJS (which is pretty common nowadays, but was rather novel back when this was first created).

Getting Started

Assuming you're starting from zero, you'll need a few things. NodeJs, a development environment. Links follow.

Supporting Tools

Once you've installed all of the above, clone this project and get started:

mkdir -p ~/github/youAtGithub/
cd ~/github/youAtGithub/
git clone [email protected]:ggranum/nodejs-file-processor-template.git my-file-processor
cd my-file-processor
# Remove the git directory so you can make this project yours
rm -rf ./.git
git init .
git add .
git commit -am "My New project, cloned from [email protected]:ggranum/nodejs-file-processor-template.git"
npm install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published