Skip to content

byteskode/xlsform-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xlsform-template

Build Status

Utilities create XLSForm template for nodejs

It generate excel workbook contains survey, choices and settings worksheets contains most commonly used xlsform fields

Installation

$ npm install --save xlsform-template

Usage

var template = new require('xlsform-template')({
    setting:{
        formTitle:'Registration',
        formId:'registration_form'
    }
});

//write template to file
template.writeFile(_<filename>_, function(error,result) {
    ...
});

//download it on http request
app.get('/xlsform', function(request, response) {
            var template = new Template({
                setting:{
                    formTitle:'Registration',
                    formId:'registration_form'
                }
            });

            template.download(response, {
                filename: filename
            });

        });

Literature Reviewed

About

Utilities create XLSForm template for nodejs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%