1
Derivar 0

docs and stuff

Este cometimento está contido em:
Conduitry 2018-04-19 12:25:25 -04:00
ascendente c3659ed3b7
cometimento f2f80904fd
3 ficheiros modificados com 33 adições e 2 eliminações

8
.eslintrc.yaml Ficheiro normal
Ver ficheiro

@ -0,0 +1,8 @@
env:
es6: true
browser: true
node: true
extends: 'eslint:recommended'
parserOptions:
ecmaVersion: 2015
sourceType: module

Ver ficheiro

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2018
Copyright (c) 2018 Conduitry
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

Ver ficheiro

@ -1 +1,24 @@
# do-not-zip
# do-not-zip
Do not zip. Just store.
## What
Stick some text files into a zip file. Works on the server (Node.js) and on the client (JavaScript). Requires ES2015+.
## Usage
```javascript
const output = doNotZip([{ path: 'path/to/file1.txt', data: 'Hello' }, { path: 'another/file2.txt', data: 'World' }]);
// output will be a Buffer on the server and a Blob on the client
```
## Thanks
https://github.com/mrananyan/ZipperJS and https://users.cs.jmu.edu/buchhofp/forensics/formats/pkzip.html
## License
Copyright (c) 2018 Conduitry
- [MIT](LICENSE)