https://github.com/kuper-tech/react-native-msg-pack
https://github.com/kuper-tech/react-native-msg-pack
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kuper-tech/react-native-msg-pack
- Owner: Kuper-Tech
- License: mit
- Created: 2023-11-13T09:01:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T09:02:03.000Z (over 2 years ago)
- Last Synced: 2025-03-05T23:24:38.648Z (over 1 year ago)
- Language: C
- Size: 469 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# react-native-msg-pack
just msg pack wrapper for rn
## Installation
```sh
npm install react-native-msg-pack
```
## Usage
```js
import { parse, encode, install } from 'react-native-msg-pack';
// ...
install();
const encoded = encode({a: 10});
const result = parse(encoded);
assert(result.a == 10);
```
## Contributing
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
## License
MIT
---
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)