Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shastel/redux-action-minifier
This package provides to you possibility to minify your Flux Standard Action to send it over the network
https://github.com/shastel/redux-action-minifier
action flux fsa redux
Last synced: about 2 months ago
JSON representation
This package provides to you possibility to minify your Flux Standard Action to send it over the network
- Host: GitHub
- URL: https://github.com/shastel/redux-action-minifier
- Owner: Shastel
- License: mit
- Created: 2017-06-05T10:59:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-19T11:26:36.000Z (over 7 years ago)
- Last Synced: 2024-10-28T16:54:11.376Z (2 months ago)
- Topics: action, flux, fsa, redux
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# redux-action-minifier
> This package provides to you possibility to minify your [Flux Standard Action](https://github.com/acdlite/flux-standard-action#flux-standard-action) to send it over the network
---* [Installation](#installation)
* [Usage](#usage)## Installation
```sh
npm install redux-action-minifier
```or with yarn
```sh
yarn add redux-action-minifier
```## Usage
```javascript
import { compressor, decompressor } from 'redux-action-minifier';
const FSA = {
type: 'UPDATE',
}const compressedFSA = compressor(FSA);
/*
compressedFSA now equals to{
t: 'UPDATE',
}
*/const decompressedFSA = decompressor(compressedFSA);
/*
decompressedFSA now equals to{
type: 'UPDATE',
}
*/```
## LICENSE
MIT