mirror of
https://github.com/FourierTransformer/ftcsv.git
synced 2024-11-19 19:54:23 +00:00
updated to fix bad md formatting
This commit is contained in:
parent
a94461c347
commit
7d5ac974b0
@ -93,6 +93,7 @@ For all tested examples, take a look in /spec/feature_spec.lua
|
|||||||
|
|
||||||
## Encoding
|
## Encoding
|
||||||
### `ftcsv.encode(inputTable, delimiter[, options])`
|
### `ftcsv.encode(inputTable, delimiter[, options])`
|
||||||
|
|
||||||
ftcsv can also take a lua table and turn it into a text string to be written to a file. It has two required parameters, an inputTable and a delimiter. You can use it to write out a file like this:
|
ftcsv can also take a lua table and turn it into a text string to be written to a file. It has two required parameters, an inputTable and a delimiter. You can use it to write out a file like this:
|
||||||
```lua
|
```lua
|
||||||
local fileOutput = ftcsv.encode(users, ",")
|
local fileOutput = ftcsv.encode(users, ",")
|
||||||
@ -124,14 +125,14 @@ ftcsv returns a litany of errors when passed a bad csv file or incorrect paramet
|
|||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
Feel free to create a new issue for any bugs you've found or help you need. If you want to contribute back to the project please do the following:
|
Feel free to create a new issue for any bugs you've found or help you need. If you want to contribute back to the project please do the following:
|
||||||
0. If it's a major change (aka more than a quick little < 5 line bugfix), please create an issue so we can discuss it!
|
0. If it's a major change (aka more than a quick bugfix), please create an issue so we can discuss it!
|
||||||
1. Fork the repo
|
1. Fork the repo
|
||||||
2. Create a new branch
|
2. Create a new branch
|
||||||
3. Push your changes to the branch
|
3. Push your changes to the branch
|
||||||
4. Run the test suite and make sure it still works
|
4. Run the test suite and make sure it still works
|
||||||
5. Submit a pull request
|
5. Submit a pull request
|
||||||
6. ???
|
6. Wait for review
|
||||||
7. Enjoy the changes made to the repo!
|
7. Enjoy the changes made!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user