Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danieljdufour/rle-serializers
Serialize and Deserialize Run Length Encoding
https://github.com/danieljdufour/rle-serializers
cloud-optimized compression csv data deserializer run-length run-length-decoding run-length-encoding serializer
Last synced: 23 days ago
JSON representation
Serialize and Deserialize Run Length Encoding
- Host: GitHub
- URL: https://github.com/danieljdufour/rle-serializers
- Owner: DanielJDufour
- License: cc0-1.0
- Created: 2020-06-03T14:48:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T16:23:13.000Z (over 4 years ago)
- Last Synced: 2024-12-06T05:46:32.448Z (about 1 month ago)
- Topics: cloud-optimized, compression, csv, data, deserializer, run-length, run-length-decoding, run-length-encoding, serializer
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rle-serializers
Serialize and Deserialize Run Length Encoding Data# usage
## basic csv serialization
```javascript
import serialize_basic_csv from 'rle-serializers/serialize_basic_csv';const csv = serialize_basic_csv([5, 3, 1, 8, 2, 0]);
//5,3,1,8,2,0
```## basic csv deserialization
```javascript
const data = deserialize_basic_csv("5,3,1,8,2,0");
// [5, 3, 1, 8, 2, 0]
```## enhanced csv serialization
```javascript
import serialize_advanced_csv from 'rle-serializers/serialize_advanced_csv';const csv = serialize_advanced_csv([5, 3, 1, 8, 2, 0]);
//3x5,8,0x2
```## enhanced csv deserialization
```javascript
import deserialize_advanced_csv from 'rle-serializers/serialize_advanced_csv';const data = deserialize_advanced_csv("3x5,8,0x2");
// [5, 3, 1, 8, 2, 0]
```# support
Post an issue at https://github.com/danieljdufour/rle-serializers/issues