https://github.com/freymaurer/fable.exceljs
Fable bindings for exceljs
https://github.com/freymaurer/fable.exceljs
excel fable fable-bindings xlsx
Last synced: 5 months ago
JSON representation
Fable bindings for exceljs
- Host: GitHub
- URL: https://github.com/freymaurer/fable.exceljs
- Owner: Freymaurer
- License: mit
- Created: 2023-05-02T12:56:36.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-25T11:56:56.000Z (over 1 year ago)
- Last Synced: 2024-11-13T07:46:47.667Z (over 1 year ago)
- Topics: excel, fable, fable-bindings, xlsx
- Language: F#
- Homepage:
- Size: 218 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fable.exceljs
Fable bindings for [exceljs](https://github.com/exceljs/exceljs).
> Read, manipulate and write spreadsheet data and styles to XLSX and JSON.
This is far from complete, but can be expanded as needed.
# install
## Femto
Using [Femto](https://github.com/Zaid-Ajaj/Femto), this will install both dotnet and npm dependency
```bash
femto install Fable.Exceljs
```
## Nuget and NPM
[Nuget](https://www.nuget.org/packages/Fable.Exceljs):
```bash
dotnet add package Fable.Exceljs --version 1.0.3
```
You must also install the correct [npm](https://www.npmjs.com/package/exceljs) dependency,
the current recommended version for `exceljs` is 4.3.0!
```bash
npm i exceljs
```
# develop
## prerequisites
- .NET 6 SDK
- nodejs (tested with ~v16)
- npm (tested with v9)
## setup
- dotnet tool restore
- npm install
## build
run `./build.cmd`
### or run the build project directly:
`dotnet run --project ./build/build.fsproj`
## test
- run `./build.cmd runTests`
- run `npm test`
As this repository only contains bindings for exceljs, the test will not run in dotnet but only in node.js environment.
## publish
1. increase version from latest release `./build.cmd releasenotes semver:xxx` [`semver:major`; `semver:minor`; `semver:patch`]
2. `./build.cmd pack`
3. upload package in `pkg`.