rexlsx

0.0.2 • Public • Published

rexlsx

WIP

Create excel documents with React

NPM version NPM downloads Build Status Coverage Status Dependency Status Greenkeeper badge


Install

$ npm install rexlsx

Usage

import React from 'react';
import { render, Workbook, Sheet, Row, Col, Cell } from 'rexlsx';
 
class App extends React.Component {
  render() {
    return (
      <Workbook>
        <Sheet name="Sheet 1">
          <Row>
            <Col>
              <Cell>Hello world</Cell>
            <Col>
          </Row>
        </Sheet>
      </Workbook>
    )
  }
}
 
render(<App />, `${__dirname}/example.xlsx`);

Todo

  • Components: Workbook, Sheet, Row, Col, Cell, Style
  • Add tests
  • Add examples

Report a issue

Reference

License

rexlsx is available under the terms of the MIT License.

Package Sidebar

Install

npm i rexlsx

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • d-band