@xlork/core

2.1.1 • Public • Published

xlork

XLork is a powerful Node.js/ Vanilla js package for parsing and manipulating CSV and XML files. With its intuitive API, XLork makes it easy to read, write, and modify CSV and XML data in your Node.js applications. Whether you're dealing with large datasets or just need to perform some quick data transformations, XLork has you covered. Plus, with its comprehensive documentation and responsive community support, XLork is the perfect choice for developers looking to work with CSV and XML data in Node.js. Install XLork today and start parsing and manipulating your data with ease!

Pure javascript adapter for xlork importer.

Installation / Import

<script src="https://unpkg.com/@xlork/core/dist/index.min.js"></script>

Examples

Try our example in CodeSandbox.

Readme

For usage see the guide here - https://xlork.com/docs

Usage

const config = {
  licenseKey: 'U264Y-OQDB2-QRZJB-ZTL1P-I21FF',
  user: {
    email: 'jhon@xlork.com',
    name: 'Jhon',
  },
  settings: {
    title: 'Address',
    columns: [
      {
        label: 'Invoice date',
        key: 'address',
      },
      {
        label: 'Retailer Code',
        key: 'latitude',
      },
      {
        label: 'SKU Code',
        key: 'longitude',
      },
      {
        label: 'Product Quantity (CFC)',
        key: 'state',
      },
    ],
    theme: 'AQUA',
    allowInvalidSubmit: true,
    maxRecords: 50,
  },

  onComplete: (response) => {
    console.log('[onComplete]', response);
  },
  onCancel: () => {
    console.log('[onCancel]');
  },
};

const XLork = new xLorkClient(config);
Xlork.init();

React Package

For React Package - https://www.npmjs.com/package/@xlork/reacts

License

MIT © [xlork]

Package Sidebar

Install

npm i @xlork/core

Weekly Downloads

0

Version

2.1.1

License

MIT

Unpacked Size

29.4 kB

Total Files

4

Last publish

Collaborators

  • xlork