0.0.4 • Published 2 years ago
csvwritergen v0.0.4
CsvWriter
Simple csvwriter browser downloader generator JS
Development
Docker container running lite-server and watching code changes
make watchResults can be tested in demos:
Generate bundle
Local bundle pack with project name and actual project version in root folder
make bundleMore
To see all make commands
make helpInstallation
yarn add csvwritergenOr directly in the HTML file
<!-- Add to the bottom of body HTML tag -->
<script src="./dist/csvwritergen.js"></script>
<!-- or directly from unpkg -->
<script src="https://unpkg.com/csvwritergen@latest/dist/csvwritergen.min.js"></script>Run
// Utils library functions: toNormalForm and newElement can be imported here
import { CsvWriter } from "csvwritergen";
// Only this lines when included with script HTML tag
const csvwriter = new CsvWriter(header, rows);
await csvwriter.anchorElement("file-title");