xhistory

A small library providing utility method to log/save history

Usage no npm install needed!

<script type="module">
  import xhistory from 'https://cdn.skypack.dev/xhistory';
</script>

README

xhistory

A small library providing utility method to log/save history to your db

Usage

  1. You need to have some sort of api server that does the inserting of the log to your db/document
  2. Include xhistory module to any of your nodejs project just any other module.
  3. Sample Request;
history = require('xhistory');
history.Write('<type of log>','<history text>','<status>','<csrf if enabled>','<uri to your api that does the query to db>',function(err,data) 
{
  // do something
});

Release History

v0.0.1