https://github.com/harvestprofit/docflux-spreadsheets
XLSX Spreadsheets parser for DocFlux
https://github.com/harvestprofit/docflux-spreadsheets
csv docflux react xlsx
Last synced: about 1 month ago
JSON representation
XLSX Spreadsheets parser for DocFlux
- Host: GitHub
- URL: https://github.com/harvestprofit/docflux-spreadsheets
- Owner: HarvestProfit
- License: mit
- Created: 2018-02-02T21:18:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T23:47:23.000Z (almost 3 years ago)
- Last Synced: 2025-01-21T06:46:16.950Z (over 1 year ago)
- Topics: csv, docflux, react, xlsx
- Language: JavaScript
- Homepage: https://harvestprofit.github.io/DocFlux-Spreadsheets/
- Size: 1.86 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DocFlux Spreadsheets
[](https://www.npmjs.com/package/@harvest-profit/doc-flux-spreadsheets) [](https://travis-ci.org/HarvestProfit/DocFlux-Spreadsheets) [](https://coveralls.io/github/HarvestProfit/DocFlux-Spreadsheets?branch=master) [](https://github.com/HarvestProfit/DocFlux-Spreadsheets/blob/master/LICENSE)
Allows you to create XLSX spreadsheets using [DocFlux](https://github.com/HarvestProfit/DocFlux).
## Example
This will generate a table with 2 rows in it with a table name (for XLSX) called People.
```jsx
import { DocFlux } from '@harvest-profit/doc-flux';
/** @jsx DocFlux.createElement */
export default ExampleComponent = () => (
People
Name
Age
John
24
Jill
25
);
```
## Development
[Clone](https://help.github.com/articles/cloning-a-repository/) this repo, and begin committing changes. PRs are preferred over committing directly to master.
To run tests locally on your machine, run the following:
```bash
yarn run test
```
To preview documentation locally on your machine, run the following:
```bash
yarn run build-docs
```
After merging your pull request, consider updating the documentation with the following command:
```bash
yarn run publish-docs
```
To deploy a new version to NPM, bump the version number, commit/merge to `master`, and run the following:
```bash
yarn run clean
yarn run build
# Either NPM
npm publish
# Or Yarn, they do the same thing
yarn publish
```
## License
This project is [MIT licensed](https://github.com/HarvestProfit/DocFlux-Spreadsheets/blob/master/LICENSE)