Skip to content

direct-fuel-injection/ReportUtility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Report Utility

A Form to collect report messages from your sites. Now your users can easly send you reports and bugs.

Installation

Install as npm package.

$ npm i report-utility

Install as standalone library.

$ cp ./dist/report.utility.min.js $dest

Usage

Defaults

    {
        el, // selector for inject form
        url, // endpoint to send logs
        template, // html code
        minimized // compact mode
    }

Example (init function):

ReportUtility.config({
    el: '#container',
    minimized: false
});
ReportUtility.init();

Browser Support

  • IE 11+
  • All Modern Browsers

Development

Want to contribute? Great! Open your favorite Terminal and run these commands.

Runs dev-server on http://localhost:3000 :

$ node run start

Tests:

$ npm test

Building

For production release:

$ npm run build

Todos

  • Demo server with saving logs
  • test, test, test...

License

MIT

About

Report Utility - A Form to collect bug reports from your site.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors