@toxus/field-container
v0.4.25
Published
Record container that holds the fields information
Downloads
217
Readme
field-container
A storage space for variable field record.
Status
Installation
Install the package via npm:
npm install @toxus/field-container --saveUsage
A simple import statement
const rowTemplate = require('./lib/rowTemplate');
const fieldsClass = require('./lib/fieldContainer');
const fields = new fieldsClass();
let template = new rowTemplate();
template.readFile('./spec/rowTemplate.json');
fields.clear();
var cnt = fields.count();
fields.importRow(
{
A: '12345',B:'John',C:'the',D:'Bastard',E:'Google',F:'[email protected]',G:'0612345678',H:'',I:'Nowhere',J:'1234', K:'1017TE',L:'Amsterdam',M:'nl'
},
template
);Licenses
This package is licensed under MIT.
