Code Monkey home page Code Monkey logo

xtoolset's Introduction

XToolSet Banner

Fancy TypeScript / JavaScript spreadsheet package for browsers, and node, and command line tools

Helps handle spreadsheet files `xlsx` in smart way by using high level api.

Packages

NPMnpm GitHub Workflow Status codecov

It allows you to import xlsx spreadsheet file with data into your system with defined TypeScript types.

const xlsx = await importerFactory.from('./my-awesome-books.xlsx');
const books: Array<Book> = xlsx.getAllItems<Book>(config.books);

Read more ➡️

NPMnpm GitHub Workflow Status codecov

Makes generating spreadsheet files as simple as possible - it is enough one line to generate pretty customizable spreadsheet file.

const renderer = new Renderer();
await renderer.renderFromFile('./invoice-template.xlsx', invoiceData)
    .then(wb => wb.xlsx.writeFile('./invoice.xlsx'));

Read more ➡️

Command Line Tools

NPM GitHub Workflow Status

Imports data from spreadsheet file using command line.

sxi books.cfg.js my-awesome-books.xlsx > books-list.json

Read more ➡️

NPM GitHub Workflow Status

Generate spreadsheets files following by the template with view model from command line.

sxr --model invoice-data.json invoice-template.xlsx > invoice.xlsx

Read more ➡️

Examples

Examples are available in a flat structure, and they are named by using : [package_name]+[technology] - for instance xlsx-import+nodejs+ts.

See samples/

Additionally, the xlsx-renderer has lots of examples used for the integration testing. Read more.

Support

If any help needed, just feel free to create an issue. We will be really thankful for added links into stackoverflow topics if exists.

We are ready to provide paid support, in order that please contact me: [email protected] or [email protected].

MIT licensed

All of these tools and packages are free to use for commercial and non-commercial usages, see the MIT License.

xtoolset's People

Contributors

siemienik avatar machadolucasvp avatar metastasis avatar dependabot[bot] avatar gitter-badger avatar jacekkoziol avatar lowkeypriority avatar michalp4 avatar

Stargazers

赵梓宇 avatar

Watchers

 avatar

Forkers

yunwisdom

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.