Skip to content

Commit 7e7db43

Browse files
committed
v0.4.2
* New Docs powered by Docusaurus! * New logo courtesy of @dylanstanfield
1 parent 1cf0c07 commit 7e7db43

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+18515
-3843
lines changed

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
node: true,
1717
jest: true,
1818
},
19-
ignorePatterns: ["**/build", "**/node_modules"],
19+
ignorePatterns: ["**/build", "**/node_modules", "documentation"],
2020
settings:{
2121
"import/extensions": [
2222
".ts"

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ build
88
coverage
99
**/*.tmp.csv
1010
**/*.tsbuildinfo
11-
lerna-debug.log
11+
lerna-debug.log

History.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# v4.1.2
2+
3+
* New Docs powered by Docusaurus!
4+
* New logo courtesy of [@dylanstanfield](https://github.com/dylanstanfield)
5+
16
# v4.1.1
27

38
* [FIXED] Issue where code is not built before publishing. [#329](https://github.com/C2FO/fast-csv/issues/329)

README.md

+18-27
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,35 @@
1+
<p align="center">
2+
<a href="https://c2fo.io/fast-csv" target="blank"><img src="https://doug-martin.github.io/nestjs-query/img/logo.svg" width="120" alt="Nestjs-query Logo" /></a>
3+
</p>
4+
15
[![npm version](https://img.shields.io/npm/v/fast-csv.svg)](https://www.npmjs.org/package/fast-csv)
26
[![Build Status](https://travis-ci.org/C2FO/fast-csv.svg?branch=master)](https://travis-ci.org/C2FO/fast-csv)
37
[![Coverage Status](https://coveralls.io/repos/github/C2FO/fast-csv/badge.svg?branch=master)](https://coveralls.io/github/C2FO/fast-csv?branch=master)
48
[![Known Vulnerabilities](https://snyk.io/test/github/C2FO/fast-csv/badge.svg?targetFile=package.json)](https://snyk.io/test/github/C2FO/fast-csv?targetFile=package.json)
59

610
# Fast-csv
711

8-
Fast-csv is library for parsing and formatting csvs or any other delimited value file in node.
9-
10-
## Packages
11-
12-
There are three packages published from this repo.
12+
Fast-csv is library for parsing and formatting CSVs or any other delimited value file in node.
1313

14-
### [`fast-csv`](./packages/fast-csv)
14+
## Features
1515

16-
Exposes both formatting and parsing methods in a single package, use this if you need to parse and format files.
16+
* CSV Formatting
17+
* CSV Parsing
18+
* Built using typescript.
19+
* Flexible [formatting](https://c2fo.io/fast-csv/docs/formatting/options) and [parsing](https://c2fo.io/fast-csv/docs/parsing/options) options, to fit almost any scenario.
20+
* Built with streams first to avoid creating large memory footprint when parsing large files.
21+
* Battle tested in production, parsing and formatting millions of records every day.
1722

18-
* [Docs](./packages/fast-csv/README.md)
19-
* [Benchmarks](./examples/benchmark/README.md)
20-
* [JavaScript Examples](./examples/fast-csv-js/README.md)
21-
* [TypeScript Examples](./examples/fast-csv-ts/README.md)
23+
## Install
2224

23-
### [`@fast-csv/parse`](./packages/parse)
25+
See [installation docs](./install)
2426

25-
Parsing package, use this if you only need to parse files.
26-
27-
* [Docs](./packages/parse/README.md)
28-
* [JavaScript Examples](./examples/parsing-js/README.md)
29-
* [TypeScript Examples](./examples/parsing-ts/README.md)
30-
31-
### [`@fast-csv/format`](./packages/format)
32-
33-
Formatting package, use this if you only need to format files.
34-
35-
* [Docs](./packages/format/README.md)
36-
* [JavaScript Examples](./examples/formatting-js/README.md)
37-
* [TypeScript Examples](./examples/formatting-ts/README.md)
27+
## Packages
3828

39-
### Migrating from older versions
4029

41-
* [From `v2.x` to `v3.x`](./docs/migration_guide.md#from-v2x-to-v3x)
30+
* `fast-csv` - One stop shop for all methods and options from `@fast-csv/format` and `@fast-csv/parse`. [Get Started!](https://c2fo.io/fast-csv/docs/introduction/getting-started)
31+
* `@fast-csv/parse` - Parsing package, use this if you only need to parse files. [Get Started!](https://c2fo.io/fast-csv/docs/parsing/getting-started)
32+
* `@fast-csv/format` - Formatting package, use this if you only need to format files. [Get Started!](https://c2fo.io/fast-csv/docs/formatting/getting-started)
4233

4334
## License
4435

File renamed without changes.

documentation/.gitignore

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Dependencies
2+
/node_modules
3+
4+
# Production
5+
/build
6+
7+
# Generated files
8+
.docusaurus
9+
.cache-loader
10+
11+
# Misc
12+
.DS_Store
13+
.env.local
14+
.env.development.local
15+
.env.test.local
16+
.env.production.local
17+
18+
npm-debug.log*
19+
yarn-debug.log*
20+
yarn-error.log*

documentation/README.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Website
2+
3+
This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator.
4+
5+
### Installation
6+
7+
```
8+
$ yarn
9+
```
10+
11+
### Local Development
12+
13+
```
14+
$ yarn start
15+
```
16+
17+
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
18+
19+
### Build
20+
21+
```
22+
$ yarn build
23+
```
24+
25+
This command generates static content into the `build` directory and can be served using any static contents hosting service.
26+
27+
### Deployment
28+
29+
```
30+
$ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
31+
```
32+
33+
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
id: initial-release
3+
title: Initial Release
4+
author: Doug Martin
5+
author_title: Creator
6+
author_url: https://github.com/doug-martin
7+
author_image_url: https://avatars1.githubusercontent.com/u/361261?v=4
8+
tags: [fast-csv, docs]
9+
---
10+
11+
New docs!

0 commit comments

Comments
 (0)