mirror of
https://github.com/rzmk/czv.git
synced 2025-12-19 08:09:24 +00:00
- Add relevant links to all READMEs and source code - Resolve clippy lints czv: - Add more docs for top-level items - Add suggestion to use builder methods instead of functions - Disable slice and slice tests until operation is complete czv-wasm: - Use tsify_next for allowing objects as parameters - Add nodejs example and instructions
12 lines
215 B
TypeScript
12 lines
215 B
TypeScript
import czv from "../../pkg/czv-ts";
|
|
|
|
const options: czv.RowCountOptions = {
|
|
file_data: `fruit,price,
|
|
apple,2.50
|
|
banana,3.00
|
|
strawberry,1.50`,
|
|
};
|
|
|
|
const output = czv.rowCount(options);
|
|
|
|
console.log(output); // 4
|