UNPKG

@xlork/core

Version:

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 dataset

78 lines (55 loc) 1.87 kB
## 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](https://codesandbox.io/s/xlork-javascript-ufrr1y). ## Readme For usage see the guide here - https://xlork.com/docs ## Usage ```javascript 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]